Compile with -Wreturn-type
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 26 Jan 2017 22:47:04 +0000 (17:47 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 8 Feb 2017 21:36:32 +0000 (16:36 -0500)
commit3ceb3ef060e850a7f3da7d3ac58b738d18b694b9
tree7d232c980dd2df46078cea4ed687ef3d3245c4fe
parentcfd8d39346ef5b2539e46d0e308dba01611e1570
Compile with -Wreturn-type

I can't believe we've been going without this for so long.  I finally ran
into a problem that was because of a missing "return 0."  At least the
kernel was in good shape.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
16 files changed:
Makefile
tests/futex_timeout.c
tests/vmm/vmrunkernel.c
user/benchutil/alarm.c
user/benchutil/pvcalarm.c
user/parlib/event.c
user/parlib/include/parlib/x86/trap.h
user/parlib/vcore.c
user/pthread/pthread.c
user/utest/cv.c
user/utest/example.c
user/utest/include/utest.h
user/utest/pvcalarm.c
user/utest/signal.c
user/vmm/apic.c
user/vmm/ioapic.c