svn commit: r260048 - head/sys/netgraph/netflow
Dimitry Andric
dim at FreeBSD.org
Sun Dec 29 18:53:46 UTC 2013
Author: dim
Date: Sun Dec 29 18:53:45 2013
New Revision: 260048
URL: http://svnweb.freebsd.org/changeset/base/260048
Log:
In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[].
MFC after: 3 days
Modified:
head/sys/netgraph/netflow/netflow.c
head/sys/netgraph/netflow/netflow_v9.c
head/sys/netgraph/netflow/ng_netflow.c
Modified: head/sys/netgraph/netflow/netflow.c
==============================================================================
--- head/sys/netgraph/netflow/netflow.c Sun Dec 29 18:44:12 2013 (r260047)
+++ head/sys/netgraph/netflow/netflow.c Sun Dec 29 18:53:45 2013 (r260048)
@@ -28,8 +28,8 @@
* $SourceForge: netflow.c,v 1.41 2004/09/05 11:41:10 glebius Exp $
*/
-static const char rcs_id[] =
- "@(#) $FreeBSD$";
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "opt_inet6.h"
#include "opt_route.h"
Modified: head/sys/netgraph/netflow/netflow_v9.c
==============================================================================
--- head/sys/netgraph/netflow/netflow_v9.c Sun Dec 29 18:44:12 2013 (r260047)
+++ head/sys/netgraph/netflow/netflow_v9.c Sun Dec 29 18:53:45 2013 (r260048)
@@ -26,8 +26,8 @@
* $FreeBSD$
*/
-static const char rcs_id[] =
- "@(#) $FreeBSD$";
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "opt_inet6.h"
#include "opt_route.h"
Modified: head/sys/netgraph/netflow/ng_netflow.c
==============================================================================
--- head/sys/netgraph/netflow/ng_netflow.c Sun Dec 29 18:44:12 2013 (r260047)
+++ head/sys/netgraph/netflow/ng_netflow.c Sun Dec 29 18:53:45 2013 (r260048)
@@ -28,8 +28,8 @@
* $SourceForge: ng_netflow.c,v 1.30 2004/09/05 11:37:43 glebius Exp $
*/
-static const char rcs_id[] =
- "@(#) $FreeBSD$";
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "opt_inet6.h"
#include "opt_route.h"
More information about the svn-src-head
mailing list