Index: head/lib/libdevctl/devctl.h =================================================================== --- head/lib/libdevctl/devctl.h +++ head/lib/libdevctl/devctl.h @@ -30,6 +30,7 @@ #include +__BEGIN_DECLS int devctl_attach(const char *device); int devctl_detach(const char *device, bool force); int devctl_enable(const char *device); @@ -42,5 +43,6 @@ int devctl_delete(const char *device, bool force); int devctl_freeze(void); int devctl_thaw(void); +__END_DECLS #endif /* !__DEVCTL_H__ */