Fix implicit declaration in procinfo.h (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 11 Mar 2016 15:06:59 +0000 (10:06 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 11 Mar 2016 20:59:59 +0000 (15:59 -0500)
commit5fdae0513c3d32e9663aab08007b1ce72851a29c
treeb4f59cb239c6448ae9a13eeaf88f7f497f2e4a6e
parent8b0edac167de134ece3419d0d7aa7a9f767b94b5
Fix implicit declaration in procinfo.h (XCC)

The user-specific part of procinfo has a helper function that makes a
syscall.  That was implying __ros_syscall_errno() existed.  Ideally, we
wouldn't do that, but doing otherwise causes include loops.

Alternatively, we could just move or remove the functions.  Considering
they are for debugging, just externing in the function seems fine.

Reinstall your kernel headers.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/ros/procinfo.h