aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm/gdbserve.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-12-22 21:33:00 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-12-22 21:33:00 +0000
commit67b1268238368041d1a8b91c718dcf84cd25db07 (patch)
tree0d929da856fb8cd935012c199531776d633c2759 /gdb/nlm/gdbserve.c
parent9b826d6df6c9d126b9e52e2c4b3eabfc3589eb0d (diff)
downloadgdb-67b1268238368041d1a8b91c718dcf84cd25db07.zip
gdb-67b1268238368041d1a8b91c718dcf84cd25db07.tar.gz
gdb-67b1268238368041d1a8b91c718dcf84cd25db07.tar.bz2
* nlm/gdbserve.c, nlm/ppc.c, nlm/ppc.h: Don't try to use
ALTERNATE_MEM_FUNCS.
Diffstat (limited to 'gdb/nlm/gdbserve.c')
-rw-r--r--gdb/nlm/gdbserve.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/nlm/gdbserve.c b/gdb/nlm/gdbserve.c
index 483885a..1ad1c08 100644
--- a/gdb/nlm/gdbserve.c
+++ b/gdb/nlm/gdbserve.c
@@ -69,8 +69,9 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <time.h>
+#include <ctype.h>
#include <errno.h>
+#include <time.h>
#ifdef __i386__
#include <dfs.h>
@@ -380,14 +381,14 @@ volatile int mem_err = 0;
to mem_fault, they won't get restored, so there better not be any
saved). */
-static int
+int
get_char (addr)
char *addr;
{
return *addr;
}
-static void
+void
set_char (addr, val)
char *addr;
int val;