diff options
| -rw-r--r-- | emu/NetBSD/os.c | 4 | ||||
| -rw-r--r-- | emu/port/fns.h | 2 | ||||
| -rw-r--r-- | emu/port/main.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/emu/NetBSD/os.c b/emu/NetBSD/os.c index fa582a16..e299a188 100644 --- a/emu/NetBSD/os.c +++ b/emu/NetBSD/os.c @@ -13,6 +13,10 @@ #include "fns.h" #include "error.h" +/* For dynamic linking init/fini code that needs malloc */ +void (*coherence)(void) = nofence; + + enum { DELETE = 0x7f, diff --git a/emu/port/fns.h b/emu/port/fns.h index 36d341b7..6a0809c0 100644 --- a/emu/port/fns.h +++ b/emu/port/fns.h @@ -20,7 +20,7 @@ Dir* chandirstat(Chan*); void cinit(void); char* clipread(void); int clipwrite(char*); -extern void (*coherence)(void); +void (*coherence)(void); void copen(Chan*); void cmderror(Cmdbuf*, char*); Block* concatblock(Block*); diff --git a/emu/port/main.c b/emu/port/main.c index da1aa432..158f6b03 100644 --- a/emu/port/main.c +++ b/emu/port/main.c @@ -27,10 +27,6 @@ extern int mflag; ulong displaychan; char *cputype; -/* For dynamic linking init/fini code that needs malloc */ -void (*coherence)(void) = nofence; - - static void usage(void) { |
