Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2017 08:30:58 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r321118 - in stable/10/lib: libcam/tests libsbuf/tests
Message-ID:  <201707180830.v6I8UwWF032613@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Jul 18 08:30:58 2017
New Revision: 321118
URL: https://svnweb.freebsd.org/changeset/base/321118

Log:
  MFC r316558:
  
  Use __FBSDID instead of the license agreement to embed the $FreeBSD$ RCS keyword
  
  Reminded by a comment made by markj w.r.t. using __FBSDID in .c files ala a
  past Phabricator review.

Modified:
  stable/10/lib/libcam/tests/libcam_test.c
  stable/10/lib/libsbuf/tests/sbuf_core_test.c
  stable/10/lib/libsbuf/tests/sbuf_stdio_test.c
  stable/10/lib/libsbuf/tests/sbuf_string_test.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libcam/tests/libcam_test.c
==============================================================================
--- stable/10/lib/libcam/tests/libcam_test.c	Tue Jul 18 08:30:51 2017	(r321117)
+++ stable/10/lib/libcam/tests/libcam_test.c	Tue Jul 18 08:30:58 2017	(r321118)
@@ -22,9 +22,10 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
- * $FreeBSD$
  */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
 
 #include <errno.h>
 #include <fcntl.h>

Modified: stable/10/lib/libsbuf/tests/sbuf_core_test.c
==============================================================================
--- stable/10/lib/libsbuf/tests/sbuf_core_test.c	Tue Jul 18 08:30:51 2017	(r321117)
+++ stable/10/lib/libsbuf/tests/sbuf_core_test.c	Tue Jul 18 08:30:58 2017	(r321118)
@@ -22,9 +22,10 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
- * $FreeBSD$
  */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
 #include <sys/sbuf.h>

Modified: stable/10/lib/libsbuf/tests/sbuf_stdio_test.c
==============================================================================
--- stable/10/lib/libsbuf/tests/sbuf_stdio_test.c	Tue Jul 18 08:30:51 2017	(r321117)
+++ stable/10/lib/libsbuf/tests/sbuf_stdio_test.c	Tue Jul 18 08:30:58 2017	(r321118)
@@ -22,9 +22,10 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
- * $FreeBSD$
  */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
 #include <sys/sbuf.h>

Modified: stable/10/lib/libsbuf/tests/sbuf_string_test.c
==============================================================================
--- stable/10/lib/libsbuf/tests/sbuf_string_test.c	Tue Jul 18 08:30:51 2017	(r321117)
+++ stable/10/lib/libsbuf/tests/sbuf_string_test.c	Tue Jul 18 08:30:58 2017	(r321118)
@@ -22,9 +22,10 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
- * $FreeBSD$
  */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
 #include <sys/sbuf.h>



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