aboutsummaryrefslogtreecommitdiffstats
path: root/packages/glibc/glibc-2.2.5/sprintf-prototype.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/glibc-2.2.5/sprintf-prototype.patch')
-rw-r--r--packages/glibc/glibc-2.2.5/sprintf-prototype.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.2.5/sprintf-prototype.patch b/packages/glibc/glibc-2.2.5/sprintf-prototype.patch
index e69de29bb2..47dc672a38 100644
--- a/packages/glibc/glibc-2.2.5/sprintf-prototype.patch
+++ b/packages/glibc/glibc-2.2.5/sprintf-prototype.patch
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- glibc-2.2.5/stdio-common/sprintf.c~sprintf-prototype.patch 2004-09-03 19:00:33.000000000 -0500
++++ glibc-2.2.5/stdio-common/sprintf.c 2004-09-03 19:00:39.000000000 -0500
+@@ -27,9 +27,7 @@
+ /* Write formatted output into S, according to the format string FORMAT. */
+ /* VARARGS2 */
+ int
+-sprintf (s, format)
+- char *s;
+- const char *format;
++sprintf (char *s, const char *format, ...)
+ {
+ va_list arg;
+ int done;