Add the #goo to allow use in C++. Silence a few more warnings. Strip down the mkfiles more. Fix bug in X11 mouse handling, note groups.
diff --git a/include/fcall.h b/include/fcall.h index 93f46d4..20ffe38 100644 --- a/include/fcall.h +++ b/include/fcall.h
@@ -1,3 +1,8 @@ +#ifndef _FCALL_H_ +#define _FCALL_H_ 1 +#if defined(__cplusplus) +extern "C" { +#endif /* #pragma src "/sys/src/libc/9sys" #pragma lib "libc.a" @@ -118,3 +123,7 @@ #pragma varargck type "M" ulong #pragma varargck type "D" Dir* */ +#if defined(__cplusplus) +} +#endif +#endif