Revision
74010
Author
jmr@macports.org
Date
2010-12-01 15:44:15 -0800 (Wed, 01 Dec 2010)

Log Message

move fgetln declaration that was forgotten when system was split into its own file

Modified Paths

Diff

Modified: trunk/base/src/pextlib1.0/Pextlib.c (74009 => 74010)


--- trunk/base/src/pextlib1.0/Pextlib.c	2010-12-01 23:42:03 UTC (rev 74009)
+++ trunk/base/src/pextlib1.0/Pextlib.c	2010-12-01 23:44:15 UTC (rev 74010)
@@ -90,10 +90,6 @@
 #include "setmode.h"
 #endif
 
-#if !HAVE_FGETLN
-char *fgetln(FILE *stream, size_t *len);
-#endif
-
 static char *
 ui_escape(const char *source)
 {

Modified: trunk/base/src/pextlib1.0/system.c (74009 => 74010)


--- trunk/base/src/pextlib1.0/system.c	2010-12-01 23:42:03 UTC (rev 74009)
+++ trunk/base/src/pextlib1.0/system.c	2010-12-01 23:44:15 UTC (rev 74010)
@@ -61,6 +61,10 @@
 extern char **environ;
 #endif
 
+#if !HAVE_FGETLN
+char *fgetln(FILE *stream, size_t *len);
+#endif
+
 #ifndef _PATH_DEVNULL
 #define _PATH_DEVNULL "/dev/null"
 #endif