Makefile.in (rename.o, waitpid.o): Depend on config.h
* Makefile.in (rename.o, waitpid.o): Depend on config.h * rename.c: include config.h, unistd.h * waitpid.c: include config.h, sys/wait.h Co-Authored-By: Jeffrey A Law <law@cygnus.com> From-SVN: r35272
This commit is contained in:
parent
c6a8e61614
commit
c2f275e484
@ -1,3 +1,10 @@
|
|||||||
|
2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
|
||||||
|
Jeff Law <law@cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.in (rename.o, waitpid.o): Depend on config.h
|
||||||
|
* rename.c: include config.h, unistd.h
|
||||||
|
* waitpid.c: include config.h, sys/wait.h
|
||||||
|
|
||||||
2000-07-21 Alex Samuel <samuel@codesourcery.com>
|
2000-07-21 Alex Samuel <samuel@codesourcery.com>
|
||||||
|
|
||||||
* cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
|
* cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
|
||||||
|
@ -280,6 +280,7 @@ objalloc.o: config.h $(INCDIR)/objalloc.h
|
|||||||
obstack.o: config.h $(INCDIR)/obstack.h
|
obstack.o: config.h $(INCDIR)/obstack.h
|
||||||
partition.o: config.h $(INCDIR)/partition.h
|
partition.o: config.h $(INCDIR)/partition.h
|
||||||
pexecute.o: config.h $(INCDIR)/libiberty.h
|
pexecute.o: config.h $(INCDIR)/libiberty.h
|
||||||
|
rename.o: config.h
|
||||||
setenv.o: config.h
|
setenv.o: config.h
|
||||||
sort.o: config.h $(INCDIR)/sort.h $(INCDIR)/ansidecl.h
|
sort.o: config.h $(INCDIR)/sort.h $(INCDIR)/ansidecl.h
|
||||||
spaces.o: $(INCDIR)/libiberty.h
|
spaces.o: $(INCDIR)/libiberty.h
|
||||||
@ -295,4 +296,5 @@ xmalloc.o: config.h $(INCDIR)/libiberty.h
|
|||||||
xmemdup.o: config.h $(INCDIR)/libiberty.h
|
xmemdup.o: config.h $(INCDIR)/libiberty.h
|
||||||
xstrdup.o: config.h $(INCDIR)/libiberty.h
|
xstrdup.o: config.h $(INCDIR)/libiberty.h
|
||||||
xstrerror.o: config.h $(INCDIR)/libiberty.h
|
xstrerror.o: config.h $(INCDIR)/libiberty.h
|
||||||
|
waitpid.o: config.h
|
||||||
hashtab.o: config.h $(INCDIR)/libiberty.h $(INCDIR)/hashtab.h $(INCDIR)/ansidecl.h
|
hashtab.o: config.h $(INCDIR)/libiberty.h $(INCDIR)/hashtab.h $(INCDIR)/ansidecl.h
|
||||||
|
@ -3,7 +3,13 @@
|
|||||||
|
|
||||||
/* Rename a file. */
|
/* Rename a file. */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
rename (zfrom, zto)
|
rename (zfrom, zto)
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_WAIT_H
|
||||||
|
#include <sys/wait.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
waitpid (pid, stat_loc, options)
|
waitpid (pid, stat_loc, options)
|
||||||
int pid, *stat_loc, options;
|
int pid, *stat_loc, options;
|
||||||
|
Loading…
Reference in New Issue
Block a user