svn commit: r345959 - head/lib/libdevctl

Konstantin Belousov kib at FreeBSD.org
Tue Sep 3 14:06:23 UTC 2019


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__ */




More information about the svn-src-head mailing list