Date: Fri, 19 Apr 2019 12:33:58 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r346374 - stable/11/lib/libdevctl Message-ID: <201904191233.x3JCXw3Z072682@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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__ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904191233.x3JCXw3Z072682>