Cleans up userspace headers
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 13 May 2015 19:51:40 +0000 (15:51 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 15 May 2015 01:35:44 +0000 (21:35 -0400)
commit592cad93a013c56449421356e0748b9096e5f9d0
tree2ccf1f92b98802dbc595fff4d20ae6745e4fc94d
parente9a8e1d7cd68cf10f45e88b034bfcf4a5a26ea9f
Cleans up userspace headers

They all have a consistent naming for their #defines:
LIBNAME_FILENAME_H.

They all protect their declarations with __{BEGIN,END}_DECLS, which does
the c++ extern C wrapping needed for C++ functions to link against these
libraries.
44 files changed:
user/benchutil/include/alarm.h
user/benchutil/include/measure.h
user/benchutil/include/pvcalarm.h
user/bsd/priv.h
user/iplib/include/icmp.h
user/iplib/include/iplib.h
user/ndblib/include/fcallfmt.h
user/ndblib/include/ndb.h
user/ndblib/ndbhf.h
user/parlib/include/arc.h
user/parlib/include/bitmask.h
user/parlib/include/dtls.h
user/parlib/include/event.h
user/parlib/include/mcs.h
user/parlib/include/net.h
user/parlib/include/parlib.h
user/parlib/include/pool.h
user/parlib/include/printf-ext.h
user/parlib/include/pthread.h
user/parlib/include/rassert.h
user/parlib/include/riscv/arch.h
user/parlib/include/riscv/atomic.h
user/parlib/include/riscv/bitmask.h
user/parlib/include/riscv/vcore.h
user/parlib/include/ros_debug.h
user/parlib/include/slab.h
user/parlib/include/spinlock.h
user/parlib/include/timing.h
user/parlib/include/tsc-compat.h
user/parlib/include/ucq.h
user/parlib/include/uthread.h
user/parlib/include/vcore.h
user/parlib/include/waitfreelist.h
user/parlib/include/x86/arch.h
user/parlib/include/x86/atomic.h
user/parlib/include/x86/bitmask.h
user/parlib/include/x86/vcore.h
user/parlib/include/x86/vcore32.h
user/parlib/include/x86/vcore64.h
user/pthread/futex.h
user/pthread/profalarm.h
user/pthread/pthread.h
user/pthread/semaphore.h
user/utest/include/utest.h