]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Ansify function arguments
authorGuillem Jover <guillem@hadrons.org>
Wed, 9 Jul 2008 04:46:23 +0000 (07:46 +0300)
committerGuillem Jover <guillem@hadrons.org>
Wed, 9 Jul 2008 04:46:23 +0000 (07:46 +0300)
src/fgetln.c

index e7499bc98ad8591c14caa93da1f4b70ee11c4715..c92aa823f6e6975dde2e82268814b7e02e0e4ece 100644 (file)
@@ -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;