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
This commit is contained in:
parent
a1daa3ae5e
commit
9cdd5c07ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345959
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user