projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid some "gcc -pedantic" warnings.
[gnulib.git]
/
modules
/
fchdir
diff --git
a/modules/fchdir
b/modules/fchdir
index
ae562e7
..
3668314
100644
(file)
--- a/
modules/fchdir
+++ b/
modules/fchdir
@@
-3,17
+3,18
@@
fchdir() function: change current directory, given an open file descriptor.
Files:
lib/fchdir.c
Files:
lib/fchdir.c
-lib/dirent
_
.h
+lib/dirent
.in
.h
m4/fchdir.m4
Depends-on:
m4/fchdir.m4
Depends-on:
-include_next
-dup2
-fcntl
-unistd
canonicalize-lgpl
dirfd
canonicalize-lgpl
dirfd
+dup2
+fcntl
+include_next
+open
strdup
strdup
+unistd
configure.ac:
gl_FUNC_FCHDIR
configure.ac:
gl_FUNC_FCHDIR
@@
-24,13
+25,14
@@
BUILT_SOURCES += $(DIRENT_H)
# We need the following in order to create <dirent.h> when the system
# doesn't have one that works with the given compiler.
# We need the following in order to create <dirent.h> when the system
# doesn't have one that works with the given compiler.
-dirent.h: dirent
_
.h
+dirent.h: dirent
.in
.h
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
-e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
-e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
-e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
-e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
- < $(srcdir)/dirent
_
.h; \
+ < $(srcdir)/dirent
.in
.h; \
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += dirent.h dirent.h-t
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += dirent.h dirent.h-t