aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm/gdbserve.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nlm/gdbserve.c')
-rw-r--r--gdb/nlm/gdbserve.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/nlm/gdbserve.c b/gdb/nlm/gdbserve.c
index 9eecc70..481bee0 100644
--- a/gdb/nlm/gdbserve.c
+++ b/gdb/nlm/gdbserve.c
@@ -158,9 +158,7 @@ char *hex2mem (char *buf, void *mem, int count, int may_fault);
extern void set_step_traps (struct StackFrame *);
extern void clear_step_traps (struct StackFrame *);
-#if 0
-__main() {};
-#endif
+static int __main() {};
/* Read a character from the serial port. This must busy wait, but
that's OK because we will be the only thread running anyhow. */