summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-01-04 19:04:53 +0000
committerdim <dim@FreeBSD.org>2014-01-04 19:04:53 +0000
commit641c7c0871fdbbd1db32ddc21ea2b5bf6d08ad3e (patch)
tree009066660f967b583ee4c2791e2493ae43fe4499 /sys/netgraph
parenta29e1060a577bb949394210e22a7bbdefaca9508 (diff)
downloadFreeBSD-src-641c7c0871fdbbd1db32ddc21ea2b5bf6d08ad3e.zip
FreeBSD-src-641c7c0871fdbbd1db32ddc21ea2b5bf6d08ad3e.tar.gz
MFC r260048:
In sys/netgraph/netflow, use __FBSDID() instead of old-style rcs_id[].
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/netflow/netflow.c4
-rw-r--r--sys/netgraph/netflow/netflow_v9.c4
-rw-r--r--sys/netgraph/netflow/ng_netflow.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/netgraph/netflow/netflow.c b/sys/netgraph/netflow/netflow.c
index f230616..fb4e6cb7 100644
--- a/sys/netgraph/netflow/netflow.c
+++ b/sys/netgraph/netflow/netflow.c
@@ -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"
diff --git a/sys/netgraph/netflow/netflow_v9.c b/sys/netgraph/netflow/netflow_v9.c
index a3c5791..a526821 100644
--- a/sys/netgraph/netflow/netflow_v9.c
+++ b/sys/netgraph/netflow/netflow_v9.c
@@ -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"
diff --git a/sys/netgraph/netflow/ng_netflow.c b/sys/netgraph/netflow/ng_netflow.c
index 9661896..4cf453c 100644
--- a/sys/netgraph/netflow/ng_netflow.c
+++ b/sys/netgraph/netflow/ng_netflow.c
@@ -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"
OpenPOWER on IntegriCloud