From: Guillem Jover Date: Wed, 9 Jul 2008 04:46:23 +0000 (+0300) Subject: Ansify function arguments X-Git-Tag: 0.0~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=da92787d48723ef900d3976072f37960d7a96d8b;p=thirdparty%2Flibbsd.git Ansify function arguments --- 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;