summaryrefslogtreecommitdiff
path: root/gdb/proc-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/proc-events.c')
-rw-r--r--gdb/proc-events.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/proc-events.c b/gdb/proc-events.c
index fa56e34c388..216a65aa55a 100644
--- a/gdb/proc-events.c
+++ b/gdb/proc-events.c
@@ -45,6 +45,8 @@
#include <sys/fault.h>
#endif
+#include "proc-utils.h"
+
/* Much of the information used in the /proc interface, particularly
for printing status information, is kept as tables of structures of
the following form. These tables can be used to map numeric values
@@ -105,7 +107,7 @@ struct trans
#define MAX_SYSCALLS 262 /* Pretty arbitrary. */
static char *syscall_table[MAX_SYSCALLS];
-void
+static void
init_syscall_table (void)
{
#ifdef SYS_BSD_getime