code style

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
Hiltjo Posthuma
2014-06-01 14:59:47 +02:00
committed by sin
parent 97ca7c8b6d
commit 953ebf3573
35 changed files with 58 additions and 94 deletions

7
comm.c
View File

@@ -66,7 +66,7 @@ main(int argc, char *argv[])
return EXIT_SUCCESS;
}
void
static void
printline(int pos, char *line)
{
int i;
@@ -81,7 +81,7 @@ printline(int pos, char *line)
printf("%s", line);
}
char *
static char *
nextline(char *buf, int n, FILE *f, char *name)
{
buf = fgets(buf, n, f);
@@ -93,7 +93,7 @@ nextline(char *buf, int n, FILE *f, char *name)
return buf;
}
void
static void
finish(int pos, FILE *f, char *name)
{
char buf[LINE_MAX+1];
@@ -103,4 +103,3 @@ finish(int pos, FILE *f, char *name)
exit(EXIT_FAILURE);
}