summaryrefslogtreecommitdiff
path: root/ioctl.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2005-02-02 20:32:13 +0000
committerRoland McGrath <roland@redhat.com>2005-02-02 20:32:13 +0000
commitddce11b805b1db9452a4dbd3972f6f4aeeab0499 (patch)
tree0b5614d8305367d4e5d8f69633b4bf52df01a4f5 /ioctl.c
parent94098ef856be76632fe186b413c837131eeac6c5 (diff)
downloadstrace-ddce11b805b1db9452a4dbd3972f6f4aeeab0499.tar.gz
strace-ddce11b805b1db9452a4dbd3972f6f4aeeab0499.tar.bz2
strace-ddce11b805b1db9452a4dbd3972f6f4aeeab0499.tar.xz
2005-02-02 Roland McGrath <roland@redhat.com>
* linux/sparc/syscall.h: Declare sys_epoll_create, sys_epoll_ctl, sys_epoll_wait. * linux/sparc64/syscall.h: Just #include "../sparc/syscall.h" here. * ioctl.c (nioctlents2): Add const to type. Fixes Debian bug #278449.
Diffstat (limited to 'ioctl.c')
-rw-r--r--ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ioctl.c b/ioctl.c
index aba69c7..d99b669 100644
--- a/ioctl.c
+++ b/ioctl.c
@@ -62,7 +62,7 @@ const struct ioctlent ioctlent2[] = {
#include "ioctlent2.h"
};
-int nioctlents2 = sizeof ioctlent2 / sizeof ioctlent2[0];
+const int nioctlents2 = sizeof ioctlent2 / sizeof ioctlent2[0];
#endif /* SUPPORTED_PERSONALITIES >= 3 */
const struct ioctlent *ioctlent;