aboutsummaryrefslogtreecommitdiff
path: root/lib/libdevctl/devctl.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-04-05 17:54:31 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-04-05 17:54:31 +0000
commit9cdd5c07ad924249d620437d00458c3b6434dbe5 (patch)
tree8d3ce6bd7650fc4ee79f8d1b7f135ad138f962c8 /lib/libdevctl/devctl.h
parenta1daa3ae5ed2c00613ed3972d566b4f892b7dd2d (diff)
downloadsrc-9cdd5c07ad924249d620437d00458c3b6434dbe5.tar.gz
src-9cdd5c07ad924249d620437d00458c3b6434dbe5.zip
Add __BEGIN_DECLS/__END_DECLS braces to libdevctl header.
Reviewed by: imp (previous version), jhb (previous version) Sponsored by: Mellanox Technologies MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D19646
Notes
Notes: svn path=/head/; revision=345959
Diffstat (limited to 'lib/libdevctl/devctl.h')
-rw-r--r--lib/libdevctl/devctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libdevctl/devctl.h b/lib/libdevctl/devctl.h
index 7892802259f9..e30576b14702 100644
--- a/lib/libdevctl/devctl.h
+++ b/lib/libdevctl/devctl.h
@@ -30,6 +30,7 @@
#include <stdbool.h>
+__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_rescan(const char *device);
int devctl_delete(const char *device, bool force);
int devctl_freeze(void);
int devctl_thaw(void);
+__END_DECLS
#endif /* !__DEVCTL_H__ */