? INSTALL ? Makefile.in ? aclocal.m4 ? autom4te.cache ? build-aux ? config.h.in ? configure ? doc/mach.info ? doc/mach.info-1 ? doc/mach.info-2 ? doc/stamp-vti ? doc/version.texi Index: chips/busses.h =================================================================== RCS file: /sources/hurd/gnumach/chips/Attic/busses.h,v retrieving revision 1.1.1.1.4.1 diff -u -p -r1.1.1.1.4.1 busses.h --- chips/busses.h 30 Apr 2007 20:30:10 -0000 1.1.1.1.4.1 +++ chips/busses.h 21 Jul 2008 03:21:01 -0000 @@ -73,7 +73,7 @@ struct bus_ctlr { struct bus_driver *driver; /* myself, as a device */ char *name; /* readability */ int unit; /* index in driver */ - int (*intr)(); /* interrupt handler(s) */ + void (*intr)(); /* interrupt handler(s) */ vm_offset_t address; /* device virtual address */ int am; /* address modifier */ vm_offset_t phys_address;/* device phys address */ @@ -93,7 +93,7 @@ struct bus_device { struct bus_driver *driver; /* autoconf info */ char *name; /* my name */ int unit; - int (*intr)(); + void (*intr)(); vm_offset_t address; /* device address */ int am; /* address modifier */ vm_offset_t phys_address;/* device phys address */ Index: i386/i386/ipl.h =================================================================== RCS file: /sources/hurd/gnumach/i386/i386/ipl.h,v retrieving revision 1.2.2.1 diff -u -p -r1.2.2.1 ipl.h --- i386/i386/ipl.h 13 Oct 2006 14:32:32 -0000 1.2.2.1 +++ i386/i386/ipl.h 21 Jul 2008 03:21:02 -0000 @@ -70,7 +70,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFT #ifdef KERNEL #ifndef __ASSEMBLER__ #include -extern int (*ivect[])(); +extern void (*ivect[])(); extern int iunit[]; extern int intpri[]; #endif /* __ASSEMBLER__ */ Index: i386/i386/trap.c =================================================================== RCS file: /sources/hurd/gnumach/i386/i386/trap.c,v retrieving revision 1.5.2.13 diff -u -p -r1.5.2.13 trap.c --- i386/i386/trap.c 20 Jul 2008 17:40:18 -0000 1.5.2.13 +++ i386/i386/trap.c 21 Jul 2008 03:21:02 -0000 @@ -558,6 +558,7 @@ printf("user trap %d error %d sub %08x\n i386_exception(exc, code, subcode); /*NOTREACHED*/ + return 1; } /* Index: i386/i386at/com.c =================================================================== RCS file: /sources/hurd/gnumach/i386/i386at/Attic/com.c,v retrieving revision 1.3.2.6 diff -u -p -r1.3.2.6 com.c --- i386/i386at/com.c 20 Jul 2008 17:05:37 -0000 1.3.2.6 +++ i386/i386at/com.c 21 Jul 2008 03:21:02 -0000 @@ -538,6 +538,7 @@ int unit; } break; } + return 0; } static void @@ -816,6 +817,7 @@ int flags; { if ((tp->t_state & TS_BUSY) && (tp->t_state & TS_TTSTOP) == 0) tp->t_state |= TS_FLUSH; + return 0; } /* Index: i386/i386at/kd.c =================================================================== RCS file: /sources/hurd/gnumach/i386/i386at/Attic/kd.c,v retrieving revision 1.5.2.15 diff -u -p -r1.5.2.15 kd.c --- i386/i386at/kd.c 20 Jul 2008 17:05:38 -0000 1.5.2.15 +++ i386/i386at/kd.c 21 Jul 2008 03:21:05 -0000 @@ -118,7 +118,7 @@ boolean_t kdcheckmagic(); int kdcnprobe(struct consdev *cp); int kdcninit(struct consdev *cp); int kdcngetc(dev_t dev, int wait); -int kdcnputc(dev_t dev, int c); +void kdcnputc(dev_t dev, int c); int do_modifier (int, Scancode, boolean_t); /* @@ -461,7 +461,7 @@ kdopen(dev, flag, ior) io_req_t ior; { struct tty *tp; - int kdstart(); + void kdstart(); spl_t o_pri; int kdstop(); @@ -737,7 +737,7 @@ int flags; /* flags set for console * * */ /*ARGSUSED*/ -int +void kdintr(vec, regs) int vec; int regs; @@ -1085,7 +1085,7 @@ boolean_t extended; * Entered and left at spltty. Drops priority to spl0 to display character. * ASSUMES that it is never called from interrupt-driven code. */ -int +void kdstart(tp) struct tty *tp; { @@ -1145,6 +1145,7 @@ kdstop(tp, flags) * do nothing - all characters are output by one call to * kdstart. */ + return 0; } /* @@ -2975,6 +2976,7 @@ kdcnprobe(struct consdev *cp) cp->cn_dev = makedev(maj, unit); cp->cn_pri = pri; + return 0; } int @@ -2997,7 +2999,7 @@ kdcngetc(dev_t dev, int wait) return kdcnmaygetc(); } -int +void kdcnputc(dev_t dev, int c) { if (!kd_initialized) Index: i386/i386at/kd_mouse.c =================================================================== RCS file: /sources/hurd/gnumach/i386/i386at/Attic/kd_mouse.c,v retrieving revision 1.3.2.9 diff -u -p -r1.3.2.9 kd_mouse.c --- i386/i386at/kd_mouse.c 20 Jul 2008 17:05:38 -0000 1.3.2.9 +++ i386/i386at/kd_mouse.c 21 Jul 2008 03:21:05 -0000 @@ -124,7 +124,7 @@ u_char lastbuttons; /* previous state o #define MOUSE_DOWN 0 #define MOUSE_ALL_UP 0x7 -int mouseintr(); +void mouseintr(); void mouse_enqueue(); int mouse_baud = BCNT1200; @@ -539,7 +539,7 @@ done: /* * mouseintr - Get a byte and pass it up for handling. Called at SPLKD. */ -int +void mouseintr(unit) { unsigned short base_addr = cominfo[unit]->address; Index: i386/i386at/lpr.c =================================================================== RCS file: /sources/hurd/gnumach/i386/i386at/Attic/lpr.c,v retrieving revision 1.1.1.1.4.10 diff -u -p -r1.1.1.1.4.10 lpr.c --- i386/i386at/lpr.c 20 Jul 2008 17:05:38 -0000 1.1.1.1.4.10 +++ i386/i386at/lpr.c 21 Jul 2008 03:21:05 -0000 @@ -65,7 +65,8 @@ extern void ttrstrt(); * Driver information for auto-configuration stuff. */ -int lprprobe(), lprintr(), lprstart(), lprstop(); +int lprprobe(), lprstop(); +void lprintr(), lprstart(); void lprattach(struct bus_device *); #ifdef MACH_KERNEL int lprstop(), lprgetstat(), lprsetstat(); @@ -280,7 +281,7 @@ int lprioctl(dev, cmd, addr, mode) } #endif /* MACH_KERNEL */ -int lprintr(unit) +void lprintr(unit) int unit; { register struct tty *tp = &lpr_tty[unit]; @@ -295,7 +296,7 @@ int unit; lprstart(tp); } -int lprstart(tp) +void lprstart(tp) struct tty *tp; { spl_t s = spltty(); @@ -305,13 +306,13 @@ struct tty *tp; if (tp->t_state & (TS_TIMEOUT|TS_TTSTOP|TS_BUSY)) { splx(s); - return(0); + return; } if (status & 0x20) { printf("Printer out of paper!\n"); splx(s); - return(0); + return; } if (tp->t_outq.c_cc <= TTLOWAT(tp)) { @@ -331,7 +332,7 @@ struct tty *tp; } if (tp->t_outq.c_cc == 0) { splx(s); - return(0); + return; } #ifdef MACH_KERNEL nch = getc(&tp->t_outq); @@ -366,7 +367,7 @@ struct tty *tp; } #endif /* MACH_KERNEL */ splx(s); - return(0); + return; } #ifdef MACH_KERNEL Index: i386/i386at/pic_isa.c =================================================================== RCS file: /sources/hurd/gnumach/i386/i386at/pic_isa.c,v retrieving revision 1.1.1.1.4.1 diff -u -p -r1.1.1.1.4.1 pic_isa.c --- i386/i386at/pic_isa.c 15 Oct 2006 14:59:04 -0000 1.1.1.1.4.1 +++ i386/i386at/pic_isa.c 21 Jul 2008 03:21:05 -0000 @@ -33,7 +33,7 @@ extern intnull(), fpintr(), hardclock(), kdintr(); extern prtnull(); -int (*ivect[NINTR])() = { +void (*ivect[NINTR])() = { /* 00 */ hardclock, /* always */ #if RCLINE < 0 /* 01 */ kdintr, /* kdintr, ... */ Index: kern/eventcount.c =================================================================== RCS file: /sources/hurd/gnumach/kern/eventcount.c,v retrieving revision 1.1.1.1.4.7 diff -u -p -r1.1.1.1.4.7 eventcount.c --- kern/eventcount.c 3 Dec 2006 21:50:20 -0000 1.1.1.1.4.7 +++ kern/eventcount.c 21 Jul 2008 03:21:06 -0000 @@ -177,7 +177,7 @@ kern_return_t evc_wait(natural_t ev_id) thread_block(evc_continue); return KERN_SUCCESS; } - ret = KERN_NO_SPACE; /* XX */ + return KERN_NO_SPACE; /* XX */ } simple_unlock(&ev->lock); splx(s);