diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-15 19:27:17 -0400 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-10-16 11:45:42 -0700 |
commit | 22734d860c4189b74c40f8f4f7490d4a7adb2c04 (patch) | |
tree | 9de2378e58b167be4b16ec76e64b8c7ca067390a /ldso/include/dl-syscall.h | |
parent | 10ae287feaae8609db3bf23b5487c05fd9d9b463 (diff) | |
download | uClibc-alpine-22734d860c4189b74c40f8f4f7490d4a7adb2c04.tar.bz2 uClibc-alpine-22734d860c4189b74c40f8f4f7490d4a7adb2c04.tar.xz |
ldso: drop duplicated/unused defines
We already include bits/fcntl.h for some of these defines, and most of
the bits/stat.h defines are unused.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'ldso/include/dl-syscall.h')
-rw-r--r-- | ldso/include/dl-syscall.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h index 0be937b5e..3284637c0 100644 --- a/ldso/include/dl-syscall.h +++ b/ldso/include/dl-syscall.h @@ -24,32 +24,9 @@ #include <bits/kernel_stat.h> #include <bits/kernel_types.h> -/* _dl_open() parameters */ -#define O_RDONLY 00 -#define O_WRONLY 01 -#define O_RDWR 02 -#define O_CREAT 0100 - -/* Encoding of the file mode. */ -#define S_IFMT 0170000 /* These bits determine file type. */ - -/* File types. */ -#define S_IFDIR 0040000 /* Directory. */ -#define S_IFCHR 0020000 /* Character device. */ -#define S_IFBLK 0060000 /* Block device. */ -#define S_IFREG 0100000 /* Regular file. */ -#define S_IFIFO 0010000 /* FIFO. */ -#define S_IFLNK 0120000 /* Symbolic link. */ -#define S_IFSOCK 0140000 /* Socket. */ - /* Protection bits. */ #define S_ISUID 04000 /* Set user ID on execution. */ #define S_ISGID 02000 /* Set group ID on execution. */ -#define S_ISVTX 01000 /* Save swapped text after use (sticky). */ -#define S_IREAD 0400 /* Read by owner. */ -#define S_IWRITE 0200 /* Write by owner. */ -#define S_IEXEC 0100 /* Execute by owner. */ - /* Here are the definitions for some syscalls that are used |