Date: Fri, 5 Apr 2019 17:54:31 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r345959 - head/lib/libdevctl Message-ID: <201904051754.x35HsVIu038142@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Apr 5 17:54:31 2019 New Revision: 345959 URL: https://svnweb.freebsd.org/changeset/base/345959 Log: 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 Modified: head/lib/libdevctl/devctl.h Modified: head/lib/libdevctl/devctl.h ============================================================================== --- head/lib/libdevctl/devctl.h Fri Apr 5 17:21:23 2019 (r345958) +++ head/lib/libdevctl/devctl.h Fri Apr 5 17:54:31 2019 (r345959) @@ -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__ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904051754.x35HsVIu038142>