summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-28 20:01:18 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-28 20:01:18 +0300
commitbfcc507a16b041056986947afd2ac32c9c00d16d (patch)
tree5cd125236936c6cecf51c172f1d862a4023554f1
parent01d50c6344b4b77354b13aaa775078b38cf8d87d (diff)
downloadlibbsd-bfcc507a16b041056986947afd2ac32c9c00d16d.tar.gz
"Ported" src/fgetln.c
-rw-r--r--src/fgetln.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fgetln.c b/src/fgetln.c
index b79584c..9c95913 100644
--- a/src/fgetln.c
+++ b/src/fgetln.c
@@ -30,7 +30,6 @@
#include <sys/types.h>
#include <string.h>
-#ifdef __GLIBC__
char *
fgetln(FILE *stream, size_t *len)
{
@@ -48,6 +47,3 @@ fgetln(FILE *stream, size_t *len)
return line;
}
}
-#else
-#error "Function fgetln() needs to be ported."
-#endif