]> git.pld-linux.org Git - packages/kBuild.git/blame - kBuild-0.1.5-dprintf.patch
run parallel jobs
[packages/kBuild.git] / kBuild-0.1.5-dprintf.patch
CommitLineData
7395c18c
ER
1This dprintf() collides with POSIX.1-2008 dprintf() and is not used at all
2anyways. (Whoa! what a stupid name! standardized before invention of grep!)
3
4Lubomir Rintel <lkundrak@v3.sk>
5
6diff -up kBuild-0.1.5/src/ash/output.c.gcc44 kBuild-0.1.5/src/ash/output.c
7--- kBuild-0.1.5/src/ash/output.c.gcc44 2009-04-13 01:20:33.857017054 +0200
8+++ kBuild-0.1.5/src/ash/output.c 2009-04-13 01:20:57.570033297 +0200
9@@ -230,6 +230,7 @@ out1fmt(const char *fmt, ...)
10 va_end(ap);
11 }
12
13+#if 0
14 void
15 dprintf(const char *fmt, ...)
16 {
17@@ -240,6 +241,7 @@ dprintf(const char *fmt, ...)
18 va_end(ap);
19 flushout(out2);
20 }
21+#endif
22
23 void
24 fmtstr(char *outbuf, size_t length, const char *fmt, ...)
25diff -up kBuild-0.1.5/src/ash/output.h.gcc44 kBuild-0.1.5/src/ash/output.h
26--- kBuild-0.1.5/src/ash/output.h.gcc44 2009-04-13 01:20:37.724140366 +0200
27+++ kBuild-0.1.5/src/ash/output.h 2009-04-13 01:20:47.933142098 +0200
28@@ -65,8 +65,10 @@ void outfmt(struct output *, const char
29 __attribute__((__format__(__printf__,2,3)));
30 void out1fmt(const char *, ...)
31 __attribute__((__format__(__printf__,1,2)));
32+#if 0
33 void dprintf(const char *, ...)
34 __attribute__((__format__(__printf__,1,2)));
35+#endif
36 void fmtstr(char *, size_t, const char *, ...)
37 __attribute__((__format__(__printf__,3,4)));
38 void doformat(struct output *, const char *, va_list);
This page took 0.10986 seconds and 4 git commands to generate.