aboutsummaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/utility.c b/utility.c
index bff589a76..6b637de04 100644
--- a/utility.c
+++ b/utility.c
@@ -167,7 +167,7 @@ _syscall1(int, sysinfo, struct sysinfo *, info);
167#if defined BB_MOUNT || defined BB_UMOUNT 167#if defined BB_MOUNT || defined BB_UMOUNT
168 168
169#ifndef __NR_umount2 169#ifndef __NR_umount2
170#define __NR_umount2 52 170static const int __NR_umount2 = 52;
171#endif 171#endif
172 172
173/* Include our own version of <sys/mount.h>, since libc5 doesn't 173/* Include our own version of <sys/mount.h>, since libc5 doesn't
@@ -180,7 +180,7 @@ extern _syscall5(int, mount, const char *, special_file, const char *, dir,
180 180
181#if defined BB_INSMOD || defined BB_LSMOD 181#if defined BB_INSMOD || defined BB_LSMOD
182#ifndef __NR_query_module 182#ifndef __NR_query_module
183#define __NR_query_module 167 183static const int __NR_query_module = 167;
184#endif 184#endif
185_syscall5(int, query_module, const char *, name, int, which, 185_syscall5(int, query_module, const char *, name, int, which,
186 void *, buf, size_t, bufsize, size_t*, ret); 186 void *, buf, size_t, bufsize, size_t*, ret);
@@ -975,9 +975,9 @@ long my_getpwnamegid(char *name)
975#if (defined BB_CHVT) || (defined BB_DEALLOCVT) || (defined BB_SETKEYCODES) 975#if (defined BB_CHVT) || (defined BB_DEALLOCVT) || (defined BB_SETKEYCODES)
976 976
977/* From <linux/kd.h> */ 977/* From <linux/kd.h> */
978#define KDGKBTYPE 0x4B33 /* get keyboard type */ 978static const int KDGKBTYPE = 0x4B33; /* get keyboard type */
979#define KB_84 0x01 979static const int KB_84 = 0x01;
980#define KB_101 0x02 /* this is what we always answer */ 980static const int KB_101 = 0x02; /* this is what we always answer */
981 981
982int is_a_console(int fd) 982int is_a_console(int fd)
983{ 983{