From b830319d49a421741b61ae29ce32ab37f8b970ed Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sun, 4 Nov 2012 19:59:40 +0100 Subject: [BZ #157] Remove include/stub-tag.h for good. --- sysdeps/unix/Makefile | 1 - sysdeps/unix/bsd/getpt.c | 1 - sysdeps/unix/sysv/linux/epoll_pwait.c | 1 - sysdeps/unix/sysv/linux/futimens.c | 1 - sysdeps/unix/sysv/linux/lutimes.c | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c | 2 -- sysdeps/unix/sysv/linux/readahead.c | 2 -- sysdeps/unix/sysv/linux/sync_file_range.c | 2 -- sysdeps/unix/sysv/linux/utimensat.c | 1 - 9 files changed, 12 deletions(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/Makefile b/sysdeps/unix/Makefile index dda3a3ee02..c5eb87e4fb 100644 --- a/sysdeps/unix/Makefile +++ b/sysdeps/unix/Makefile @@ -64,7 +64,6 @@ $(objpfx)stub-syscalls.c: $(common-objpfx)sysd-syscalls \ echo "stub_warning ($$call)"; \ echo "weak_alias (_no_syscall, __GI_$$call)" ;; \ esac; \ - echo '#include '; \ done) > $@T mv -f $@T $@ generated += stub-syscalls.c diff --git a/sysdeps/unix/bsd/getpt.c b/sysdeps/unix/bsd/getpt.c index 2c566cbd4f..5573bab016 100644 --- a/sysdeps/unix/bsd/getpt.c +++ b/sysdeps/unix/bsd/getpt.c @@ -88,5 +88,4 @@ __posix_openpt (int oflag) weak_alias (__posix_openpt, posix_openpt) stub_warning (posix_openpt) -# include #endif diff --git a/sysdeps/unix/sysv/linux/epoll_pwait.c b/sysdeps/unix/sysv/linux/epoll_pwait.c index 70756e8443..7bea455b49 100644 --- a/sysdeps/unix/sysv/linux/epoll_pwait.c +++ b/sysdeps/unix/sysv/linux/epoll_pwait.c @@ -64,7 +64,6 @@ int epoll_pwait (int epfd, struct epoll_event *events, } stub_warning (epoll_pwait) -# include #endif libc_hidden_def (epoll_pwait) diff --git a/sysdeps/unix/sysv/linux/futimens.c b/sysdeps/unix/sysv/linux/futimens.c index f586b80f31..c4469fc93a 100644 --- a/sysdeps/unix/sysv/linux/futimens.c +++ b/sysdeps/unix/sysv/linux/futimens.c @@ -45,5 +45,4 @@ futimens (int fd, const struct timespec tsp[2]) } #ifndef __NR_utimensat stub_warning (futimens) -# include #endif diff --git a/sysdeps/unix/sysv/linux/lutimes.c b/sysdeps/unix/sysv/linux/lutimes.c index c26623262e..7e05a72a2b 100644 --- a/sysdeps/unix/sysv/linux/lutimes.c +++ b/sysdeps/unix/sysv/linux/lutimes.c @@ -54,5 +54,4 @@ lutimes (const char *file, const struct timeval tvp[2]) #ifndef __NR_utimensat stub_warning (lutimes) -# include #endif diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c index f17a4949fa..f4a49c5c41 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c @@ -48,6 +48,4 @@ sync_file_range (int fd, __off64_t from, __off64_t to, unsigned int flags) return -1; } stub_warning (sync_file_range) - -# include #endif diff --git a/sysdeps/unix/sysv/linux/readahead.c b/sysdeps/unix/sysv/linux/readahead.c index e7d0c110e6..439936741d 100644 --- a/sysdeps/unix/sysv/linux/readahead.c +++ b/sysdeps/unix/sysv/linux/readahead.c @@ -42,8 +42,6 @@ __readahead (int fd, off64_t offset, size_t count) return -1; } stub_warning (readahead) - -# include #endif weak_alias (__readahead, readahead) diff --git a/sysdeps/unix/sysv/linux/sync_file_range.c b/sysdeps/unix/sysv/linux/sync_file_range.c index a7785298b4..551e900dad 100644 --- a/sysdeps/unix/sysv/linux/sync_file_range.c +++ b/sysdeps/unix/sysv/linux/sync_file_range.c @@ -74,6 +74,4 @@ sync_file_range (int fd, __off64_t from, __off64_t to, unsigned int flags) return -1; } stub_warning (sync_file_range) - -# include #endif diff --git a/sysdeps/unix/sysv/linux/utimensat.c b/sysdeps/unix/sysv/linux/utimensat.c index f52e615dd1..fc1d362cea 100644 --- a/sysdeps/unix/sysv/linux/utimensat.c +++ b/sysdeps/unix/sysv/linux/utimensat.c @@ -45,5 +45,4 @@ utimensat (int fd, const char *file, const struct timespec tsp[2], } #ifndef __NR_utimensat stub_warning (utimensat) -# include #endif -- cgit 1.4.1