stricter typing of function pointers for makecontext()
authorBrian Norris <banorris@uci.edu>
Tue, 13 Mar 2012 18:37:45 +0000 (11:37 -0700)
committerBrian Norris <banorris@uci.edu>
Tue, 13 Mar 2012 18:41:34 +0000 (11:41 -0700)
commitca20a05be41491f67bd5c40517bed08f5a7328ba
tree1d7c89f9d2410fad4a97f7e46274c2bad82f14bb
parentca42b4367e6451fdc8d55a4baa3013c1dda6902e
stricter typing of function pointers for makecontext()

We need to use functions with no arguments (i.e., 'void (*)()') in order to
retain strict type-checking with makecontext(). Of course, we still circumvent
this type checking with casting, but we should straighten this out sometime...
libthreads.c
libthreads.h
userprog.c