Skip to content

Commit

Permalink
license polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
grepwood committed Aug 16, 2013
1 parent 28ab0e4 commit a57dfe9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013, grepwood
Copyright (c) 2013, Michael Dec
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
4 changes: 2 additions & 2 deletions grepline.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

#include <stdio.h>
#include <stdlib.h>

/******************************************************************************
Copyright 2013, Michael Dec
This library is licensed under 3 clause BSD license.
Google it and read it if you want to fall asleep.
Contact me if you would like to receive this software under another license.
If it's not shipped with this software, find it yourself.
*****************************************************************************/

size_t grepline(char **lineptr, size_t *n, FILE * stream)
Expand Down
7 changes: 3 additions & 4 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
/******************************************************************************
Copyright 2013, Michael Dec
This library is licensed under 3 clause BSD license.
Google it and read it if you want to fall asleep.
Contact me if you would like to receive this software under another license.
If it's not shipped with this software, find it yourself.
*****************************************************************************/

int main(int argc, char *argv[])
Expand All @@ -17,8 +16,8 @@ int main(int argc, char *argv[])
}
FILE * fp;
char * line = NULL;
size_t length = 0; //unsigned int
size_t read_length; //signed int
size_t length = 0,
read_length;
fp = fopen(argv[1],"r");
if(fp == NULL)
{
Expand Down

0 comments on commit a57dfe9

Please sign in to comment.