Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:07:09 -0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r346373 - stable/12/lib/libdevctl
Message-ID:  <201904191233.x3JCXGwJ072598@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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__ */





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904191233.x3JCXGwJ072598>