diff options
author | Guillem Jover <guillem@hadrons.org> | 2008-07-09 07:46:23 +0300 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2008-07-09 07:46:23 +0300 |
commit | da92787d48723ef900d3976072f37960d7a96d8b (patch) | |
tree | 207f8ada93f5b2d22876338a78f30ccac5e03c09 /src/fgetln.c | |
parent | fc163cee2fd148ef121e2481dfc08065b36b6b2b (diff) | |
download | libbsd-da92787d48723ef900d3976072f37960d7a96d8b.tar.gz |
Ansify function arguments
Diffstat (limited to 'src/fgetln.c')
-rw-r--r-- | src/fgetln.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fgetln.c b/src/fgetln.c index e7499bc..c92aa82 100644 --- a/src/fgetln.c +++ b/src/fgetln.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2005 Hector Garcia Alvarez - * Copyright (C) 2005 Guillem Jover + * Copyright (C) 2005, 2008 Guillem Jover * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,9 +32,7 @@ #ifdef __GLIBC__ char * -fgetln (stream, len) - FILE *stream; - size_t *len; +fgetln (FILE *stream, size_t *len) { char *line=NULL; size_t nread = 0; |