svn commit: trunk/uClibc/libc/stdio
psm at uclibc.org
psm at uclibc.org
Mon Feb 13 08:52:47 UTC 2006
Author: psm
Date: 2006-02-13 00:52:46 -0800 (Mon, 13 Feb 2006)
New Revision: 13944
Log:
Mark functions as GNU extensions
Modified:
trunk/uClibc/libc/stdio/asprintf.c
trunk/uClibc/libc/stdio/dprintf.c
trunk/uClibc/libc/stdio/fcloseall.c
trunk/uClibc/libc/stdio/fmemopen.c
trunk/uClibc/libc/stdio/fopencookie.c
trunk/uClibc/libc/stdio/getdelim.c
trunk/uClibc/libc/stdio/getline.c
trunk/uClibc/libc/stdio/open_memstream.c
trunk/uClibc/libc/stdio/vasprintf.c
trunk/uClibc/libc/stdio/vdprintf.c
Changeset:
Modified: trunk/uClibc/libc/stdio/asprintf.c
===================================================================
--- trunk/uClibc/libc/stdio/asprintf.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/asprintf.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
#include <stdarg.h>
@@ -30,3 +33,4 @@
libc_hidden_def(asprintf)
#endif
+#endif
Modified: trunk/uClibc/libc/stdio/dprintf.c
===================================================================
--- trunk/uClibc/libc/stdio/dprintf.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/dprintf.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
#include <stdarg.h>
@@ -21,3 +24,4 @@
return rv;
}
+#endif
Modified: trunk/uClibc/libc/stdio/fcloseall.c
===================================================================
--- trunk/uClibc/libc/stdio/fcloseall.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/fcloseall.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
libc_hidden_proto(fclose)
@@ -40,3 +43,4 @@
#endif
}
+#endif
Modified: trunk/uClibc/libc/stdio/fmemopen.c
===================================================================
--- trunk/uClibc/libc/stdio/fmemopen.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/fmemopen.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
libc_hidden_proto(memcpy)
@@ -177,3 +180,4 @@
return NULL;
}
+#endif
Modified: trunk/uClibc/libc/stdio/fopencookie.c
===================================================================
--- trunk/uClibc/libc/stdio/fopencookie.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/fopencookie.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
#ifndef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
@@ -61,3 +64,4 @@
#ifndef __BCC__
libc_hidden_def(fopencookie)
#endif
+#endif
Modified: trunk/uClibc/libc/stdio/getdelim.c
===================================================================
--- trunk/uClibc/libc/stdio/getdelim.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/getdelim.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
libc_hidden_proto(getdelim)
@@ -78,3 +81,4 @@
return pos;
}
libc_hidden_def(getdelim)
+#endif
Modified: trunk/uClibc/libc/stdio/getline.c
===================================================================
--- trunk/uClibc/libc/stdio/getline.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/getline.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
libc_hidden_proto(getline)
@@ -17,3 +20,4 @@
return getdelim(lineptr, n, '\n', stream);
}
libc_hidden_def(getline)
+#endif
Modified: trunk/uClibc/libc/stdio/open_memstream.c
===================================================================
--- trunk/uClibc/libc/stdio/open_memstream.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/open_memstream.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
libc_hidden_proto(memcpy)
@@ -166,3 +169,4 @@
return NULL;
}
libc_hidden_def(open_memstream)
+#endif
Modified: trunk/uClibc/libc/stdio/vasprintf.c
===================================================================
--- trunk/uClibc/libc/stdio/vasprintf.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/vasprintf.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
#include <stdarg.h>
#include <bits/uClibc_va_copy.h>
@@ -85,3 +88,4 @@
libc_hidden_def(vasprintf)
#endif
+#endif
Modified: trunk/uClibc/libc/stdio/vdprintf.c
===================================================================
--- trunk/uClibc/libc/stdio/vdprintf.c 2006-02-13 08:51:19 UTC (rev 13943)
+++ trunk/uClibc/libc/stdio/vdprintf.c 2006-02-13 08:52:46 UTC (rev 13944)
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
#include <stdarg.h>
@@ -65,3 +68,4 @@
return rv;
}
libc_hidden_def(vdprintf)
+#endif
More information about the uClibc-cvs
mailing list