summary refs log tree commit diff
path: root/Rules
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-27 17:18:07 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-27 17:18:07 +0000
commit27ee0a559513db0d0e650761b6f4268b39199c74 (patch)
tree9ce06a8596a1a5befd819bf1dcba82472d678a6b /Rules
parenta375a533a2445079390907b962464a379d25f5d5 (diff)
downloadglibc-27ee0a559513db0d0e650761b6f4268b39199c74.tar.gz
glibc-27ee0a559513db0d0e650761b6f4268b39199c74.tar.xz
glibc-27ee0a559513db0d0e650761b6f4268b39199c74.zip
Update.
	* include/sys/wait.h: Add some prototypes.
	* Rules (dummy.c): Create also prototype to shut up GCC.

2000-12-27  Andreas Jaeger  <aj@suse.de>
Diffstat (limited to 'Rules')
-rw-r--r--Rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rules b/Rules
index 956a2eb62e..464495e842 100644
--- a/Rules
+++ b/Rules
@@ -74,7 +74,8 @@ endef
 
 $(common-objpfx)dummy.c:
 	rm -f $@
-	echo 'void __dummy__ (void) { }' > $@
+	(echo 'extern void __dummy__ (void);'; \
+	 echo 'void __dummy__ (void) { }') > $@
 common-generated += dummy.o dummy.c
 
 # This makes all the auxiliary and test programs.