svn commit: r346374 - stable/11/lib/libdevctl
Konstantin Belousov
kib at FreeBSD.org
Tue Sep 3 14:07:09 UTC 2019
Author: kib
Date: Fri Apr 19 12:33:58 2019
New Revision: 346374
URL: https://svnweb.freebsd.org/changeset/base/346374
Log:
MFC r345959:
Add __BEGIN_DECLS/__END_DECLS braces to libdevctl header.
Modified:
stable/11/lib/libdevctl/devctl.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/libdevctl/devctl.h
==============================================================================
--- stable/11/lib/libdevctl/devctl.h Fri Apr 19 12:33:16 2019 (r346373)
+++ stable/11/lib/libdevctl/devctl.h Fri Apr 19 12:33:58 2019 (r346374)
@@ -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);
@@ -41,5 +42,6 @@ int devctl_set_driver(const char *device, const char *
int devctl_clear_driver(const char *device, bool force);
int devctl_rescan(const char *device);
int devctl_delete(const char *device, bool force);
+__END_DECLS
#endif /* !__DEVCTL_H__ */
More information about the svn-src-stable-11
mailing list