Commit da92787d48723ef900d3976072f37960d7a96d8b

Guillem Jover 2008-07-09T07:46:23

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;