diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2019-04-05 17:54:31 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2019-04-05 17:54:31 +0000 |
commit | 9cdd5c07ad924249d620437d00458c3b6434dbe5 (patch) | |
tree | 8d3ce6bd7650fc4ee79f8d1b7f135ad138f962c8 /lib | |
parent | a1daa3ae5ed2c00613ed3972d566b4f892b7dd2d (diff) | |
download | src-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')
-rw-r--r-- | lib/libdevctl/devctl.h | 2 |
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__ */ |