Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[BZ #157] Remove include/stub-tag.h for good.
  • Loading branch information
Thomas Schwinge committed Nov 4, 2012
1 parent 512a49b commit b830319
Show file tree
Hide file tree
Showing 408 changed files with 423 additions and 435 deletions.
411 changes: 410 additions & 1 deletion ChangeLog

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions Makerules
Expand Up @@ -1310,9 +1310,7 @@ common-clean: common-mostlyclean
-rm -f $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)

# Produce a file `stubs' which contains `#define __stub_FUNCTION'
# for each function which is a stub. We grovel over all the .d files
# looking for references to <stub-tag.h>. Then we grovel over each
# referenced source file to see what stub function it defines.
# for each function which is a stub.

ifdef objpfx
.PHONY: stubs # The parent Makefile calls this target.
Expand Down
1 change: 0 additions & 1 deletion dirent/closedir.c
Expand Up @@ -31,4 +31,3 @@ __closedir (DIR *dirp)
weak_alias (__closedir, closedir)

stub_warning (closedir)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/dirfd.c
Expand Up @@ -29,4 +29,3 @@ dirfd (dirp)
}

stub_warning (dirfd)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/fdopendir.c
Expand Up @@ -31,4 +31,3 @@ __fdopendir (int fd)
weak_alias (__fdopendir, fdopendir)

stub_warning (fdopendir)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/getdents.c
Expand Up @@ -33,4 +33,3 @@ __getdirentries (fd, buf, nbytes, basep)
weak_alias (__getdirentries, getdirentries)

stub_warning (getdirentries)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/getdents64.c
Expand Up @@ -32,4 +32,3 @@ getdirentries64 (fd, buf, nbytes, basep)
}

stub_warning (getdirentries64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/opendir.c
Expand Up @@ -38,4 +38,3 @@ __opendir (const char *name)
weak_alias (__opendir, opendir)

stub_warning (opendir)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/readdir.c
Expand Up @@ -29,4 +29,3 @@ __readdir (DIR *dirp)
weak_alias (__readdir, readdir)

stub_warning (readdir)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/readdir64.c
Expand Up @@ -28,4 +28,3 @@ __readdir64 (DIR *dirp)
}
weak_alias (__readdir64, readdir64)
stub_warning (readdir64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/readdir64_r.c
Expand Up @@ -29,4 +29,3 @@ readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result)
return -1;
}
stub_warning (readdir64_r)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/readdir_r.c
Expand Up @@ -31,4 +31,3 @@ __readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result)
weak_alias (__readdir_r, readdir_r)

stub_warning (readdir_r)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/rewinddir.c
Expand Up @@ -32,4 +32,3 @@ libc_hidden_def (rewinddir)


stub_warning (rewinddir)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/seekdir.c
Expand Up @@ -37,4 +37,3 @@ seekdir (dirp, pos)


stub_warning (seekdir)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion dirent/telldir.c
Expand Up @@ -37,4 +37,3 @@ telldir (dirp)


stub_warning (telldir)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion gmon/profil.c
Expand Up @@ -38,4 +38,3 @@ __profil (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
}
weak_alias (__profil, profil)
stub_warning (profil)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion grp/setgroups.c
Expand Up @@ -31,4 +31,3 @@ setgroups (n, groups)
libc_hidden_def (setgroups)

stub_warning (setgroups)
#include <stub-tag.h>
4 changes: 0 additions & 4 deletions include/stub-tag.h

This file was deleted.

1 change: 0 additions & 1 deletion inet/if_index.c
Expand Up @@ -50,7 +50,6 @@ if_nameindex (void)
return NULL;
}
stub_warning (if_nameindex)
#include <stub-tag.h>

#if 0
void
Expand Down
1 change: 0 additions & 1 deletion io/access.c
Expand Up @@ -37,4 +37,3 @@ __access (file, type)
stub_warning (access)

weak_alias (__access, access)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/chdir.c
Expand Up @@ -36,4 +36,3 @@ __chdir (path)
stub_warning (chdir)

weak_alias (__chdir, chdir)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/chmod.c
Expand Up @@ -38,4 +38,3 @@ __chmod (file, mode)
stub_warning (chmod)

weak_alias (__chmod, chmod)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/chown.c
Expand Up @@ -41,4 +41,3 @@ libc_hidden_def (__chown)
stub_warning (chown)

weak_alias (__chown, chown)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/close.c
Expand Up @@ -36,4 +36,3 @@ libc_hidden_def (__close)
stub_warning (close)

weak_alias (__close, close)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/dup.c
Expand Up @@ -30,4 +30,3 @@ __dup (fd)
stub_warning (dup)

weak_alias (__dup, dup)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/dup2.c
Expand Up @@ -44,4 +44,3 @@ libc_hidden_def (__dup2)
stub_warning (dup2)

weak_alias (__dup2, dup2)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/dup3.c
Expand Up @@ -45,5 +45,3 @@ __dup3 (fd, fd2, flags)
libc_hidden_def (__dup3)
weak_alias (__dup3, dup3)
stub_warning (dup3)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/euidaccess.c
Expand Up @@ -38,4 +38,3 @@ weak_alias (__euidaccess, euidaccess)
weak_alias (__euidaccess, eaccess)
stub_warning (euidaccess)
stub_warning (eaccess)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/faccessat.c
Expand Up @@ -46,5 +46,3 @@ faccessat (fd, file, type, flag)
return -1;
}
stub_warning (faccessat)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fchdir.c
Expand Up @@ -29,4 +29,3 @@ fchdir (fd)
}

stub_warning (fchdir)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fchmod.c
Expand Up @@ -38,4 +38,3 @@ __fchmod (fd, mode)
stub_warning (fchmod)

weak_alias (__fchmod, fchmod)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/fchmodat.c
Expand Up @@ -46,5 +46,3 @@ fchmodat (fd, file, mode, flag)
return -1;
}
stub_warning (fchmodat)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fchown.c
Expand Up @@ -39,4 +39,3 @@ __fchown (fd, owner, group)
stub_warning (fchown)

weak_alias (__fchown, fchown)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/fchownat.c
Expand Up @@ -46,5 +46,3 @@ fchownat (fd, file, owner, group, flag)
return -1;
}
stub_warning (fchownat)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fcntl.c
Expand Up @@ -37,4 +37,3 @@ libc_hidden_def (__fcntl)
stub_warning (fcntl)

weak_alias (__fcntl, fcntl)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/flock.c
Expand Up @@ -32,4 +32,3 @@ __flock (fd, operation)
weak_alias (__flock, flock)

stub_warning (flock)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fstatfs.c
Expand Up @@ -30,4 +30,3 @@ __fstatfs (int fd, struct statfs *buf)
stub_warning (fstatfs)

weak_alias (__fstatfs, fstatfs)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fstatfs64.c
Expand Up @@ -28,4 +28,3 @@ __fstatfs64 (int fd, struct statfs64 *buf)
weak_alias (__fstatfs64, fstatfs64)

stub_warning (fstatfs64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fstatvfs.c
Expand Up @@ -29,4 +29,3 @@ __fstatvfs (int fd, struct statvfs *buf)
stub_warning (fstatvfs)
weak_alias (__fstatvfs, fstatvfs)
libc_hidden_weak (fstatvfs)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fstatvfs64.c
Expand Up @@ -28,4 +28,3 @@ __fstatvfs64 (int fd, struct statvfs64 *buf)
weak_alias (__fstatvfs64, fstatvfs64)

stub_warning (fstatvfs64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/futimens.c
Expand Up @@ -32,4 +32,3 @@ futimens (int fd, const struct timespec tsp[2])
return -1;
}
stub_warning (futimens)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fxstat.c
Expand Up @@ -46,4 +46,3 @@ __fxstat (int vers, int fd, struct stat *buf)
stub_warning (fstat)
hidden_def (__fxstat)
weak_alias (__fxstat, _fxstat)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fxstat64.c
Expand Up @@ -45,4 +45,3 @@ __fxstat64 (int vers, int fd, struct stat64 *buf)
}
hidden_def (__fxstat64)
stub_warning (fstat64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fxstatat.c
Expand Up @@ -46,4 +46,3 @@ __fxstatat (int vers, int fd, const char *filename, struct stat *buf, int flag)
}
libc_hidden_def (__fxstatat)
stub_warning (fstatat)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/fxstatat64.c
Expand Up @@ -47,4 +47,3 @@ __fxstatat64 (int vers, int fd, const char *filename, struct stat64 *buf,
}
libc_hidden_def (__fxstatat64)
stub_warning (fstatat64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/getcwd.c
Expand Up @@ -36,4 +36,3 @@ weak_alias (__getcwd, getcwd)

stub_warning (__getcwd)
stub_warning (getcwd)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/isatty.c
Expand Up @@ -30,4 +30,3 @@ __isatty (fd)
weak_alias (__isatty, isatty)

stub_warning (isatty)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/lchmod.c
Expand Up @@ -29,4 +29,3 @@ lchmod (const char *file, mode_t mode)
}

stub_warning (lchmod)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/lchown.c
Expand Up @@ -39,4 +39,3 @@ __lchown (file, owner, group)
stub_warning (lchown)

weak_alias (__lchown, lchown)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/link.c
Expand Up @@ -38,4 +38,3 @@ __link (from, to)
stub_warning (link)

weak_alias (__link, link)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/linkat.c
Expand Up @@ -47,5 +47,3 @@ linkat (fromfd, from, tofd, to, flags)
return -1;
}
stub_warning (linkat)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/lseek.c
Expand Up @@ -49,4 +49,3 @@ stub_warning (lseek)
libc_hidden_def (__lseek)

weak_alias (__lseek, lseek)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/lseek64.c
Expand Up @@ -45,4 +45,3 @@ __libc_lseek64 (int fd, off64_t offset, int whence)
weak_alias (__libc_lseek64, __lseek64)
weak_alias (__libc_lseek64, lseek64)
stub_warning (lseek64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/lxstat64.c
Expand Up @@ -35,4 +35,3 @@ __lxstat64 (int vers, const char *file, struct stat64 *buf)
}
hidden_def (__lxstat64)
stub_warning (__lxstat64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/mkdir.c
Expand Up @@ -39,4 +39,3 @@ __mkdir (path, mode)
stub_warning (mkdir)

weak_alias (__mkdir, mkdir)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/mkdirat.c
Expand Up @@ -53,5 +53,3 @@ mkdirat (fd, path, mode)
return -1;
}
stub_warning (mkdirat)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/mkfifo.c
Expand Up @@ -39,4 +39,3 @@ mkfifo (path, mode)


stub_warning (mkfifo)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/mkfifoat.c
Expand Up @@ -56,4 +56,3 @@ mkfifoat (fd, path, mode)


stub_warning (mkfifoat)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/open.c
Expand Up @@ -69,5 +69,3 @@ __open_2 (file, oflag)
return __open (file, oflag);
}
stub_warning (__open_2)

#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/open64.c
Expand Up @@ -66,5 +66,3 @@ __open64_2 (file, oflag)
return __open64 (file, oflag);
}
stub_warning (__open64_2)

#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/openat.c
Expand Up @@ -88,5 +88,3 @@ __openat_2 (fd, file, oflag)
return __openat (fd, file, oflag);
}
stub_warning (__openat_2)

#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/openat64.c
Expand Up @@ -81,5 +81,3 @@ __openat64_2 (fd, file, oflag)
return __openat64 (fd, file, oflag);
}
stub_warning (__openat_2)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/pipe.c
Expand Up @@ -40,4 +40,3 @@ libc_hidden_def (__pipe)
stub_warning (pipe)

weak_alias (__pipe, pipe)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/pipe2.c
Expand Up @@ -39,5 +39,3 @@ __pipe2 (pipedes, flags)
}
weak_alias (__pipe2, pipe2)
stub_warning (pipe2)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/poll.c
Expand Up @@ -35,4 +35,3 @@ poll (fds, nfds, timeout)
}

stub_warning (poll)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/posix_fadvise.c
Expand Up @@ -27,4 +27,3 @@ posix_fadvise (int fd, __off_t offset, __off_t len, int advise)
return ENOSYS;
}
stub_warning (posix_fadvise)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/posix_fadvise64.c
Expand Up @@ -27,4 +27,3 @@ posix_fadvise64 (int fd, __off64_t offset, __off64_t len, int advise)
return ENOSYS;
}
stub_warning (posix_fadvise64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/posix_fallocate.c
Expand Up @@ -27,4 +27,3 @@ posix_fallocate (int fd, __off_t offset, __off_t len)
return -1;
}
stub_warning (posix_fallocate)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/posix_fallocate64.c
Expand Up @@ -27,4 +27,3 @@ posix_fallocate64 (int fd, __off64_t offset, __off64_t len)
return -1;
}
stub_warning (posix_fallocate64)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/read.c
Expand Up @@ -45,4 +45,3 @@ stub_warning (read)
weak_alias (__libc_read, __read)
libc_hidden_weak (__read)
weak_alias (__libc_read, read)
#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/readlink.c
Expand Up @@ -33,4 +33,3 @@ __readlink (path, buf, len)
stub_warning (readlink)

weak_alias (__readlink, readlink)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/readlinkat.c
Expand Up @@ -46,5 +46,3 @@ readlinkat (fd, path, buf, len)
}
stub_warning (readlinkat)
libc_hidden_def (readlinkat)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/rmdir.c
Expand Up @@ -37,4 +37,3 @@ __rmdir (path)
stub_warning (rmdir)

weak_alias (__rmdir, rmdir)
#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/sendfile.c
Expand Up @@ -28,5 +28,3 @@ sendfile (int out_fd, int in_fd, off_t *offset, size_t count)
return -1;
}
stub_warning (sendfile)

#include <stub-tag.h>
2 changes: 0 additions & 2 deletions io/sendfile64.c
Expand Up @@ -28,5 +28,3 @@ sendfile64 (int out_fd, int in_fd, off64_t *offset, size_t count)
return -1;
}
stub_warning (sendfile64)

#include <stub-tag.h>
1 change: 0 additions & 1 deletion io/statfs.c
Expand Up @@ -31,4 +31,3 @@ libc_hidden_def (__statfs)
weak_alias (__statfs, statfs)

stub_warning (statfs)
#include <stub-tag.h>

0 comments on commit b830319

Please sign in to comment.