svn commit: r346373 - stable/12/lib/libdevctl
Konstantin Belousov
kib at FreeBSD.org
Fri Apr 19 12:33:17 UTC 2019
Author: kib
Date: Fri Apr 19 12:33:16 2019
New Revision: 346373
URL: https://svnweb.freebsd.org/changeset/base/346373
Log:
MFC r345959:
Add __BEGIN_DECLS/__END_DECLS braces to libdevctl header.
Modified:
stable/12/lib/libdevctl/devctl.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/lib/libdevctl/devctl.h
==============================================================================
--- stable/12/lib/libdevctl/devctl.h Fri Apr 19 12:31:16 2019 (r346372)
+++ stable/12/lib/libdevctl/devctl.h Fri Apr 19 12:33:16 2019 (r346373)
@@ -31,6 +31,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);
@@ -43,5 +44,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__ */
More information about the svn-src-stable-12
mailing list