summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source/net.c
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2003-07-14 05:15:21 +0000
committergad <gad@FreeBSD.org>2003-07-14 05:15:21 +0000
commit505db8074c5fc5f09d200b0b9a3394b927c562a6 (patch)
tree5b633dd18a6c022c166e74cf3e6744d4fbb1fb88 /usr.sbin/lpr/common_source/net.c
parentee2a4c737096ce27270544e8acc7470066d17fbe (diff)
downloadFreeBSD-src-505db8074c5fc5f09d200b0b9a3394b927c562a6.zip
FreeBSD-src-505db8074c5fc5f09d200b0b9a3394b927c562a6.tar.gz
Take advantage of the common_source/lp.cdefs.h file to change lpr
source to use __FBSDID() for setting rcsids. Also fix the format of 'sccsid' lines to consistently match style(9) guidelines. Reviewed by: discussed with bde and obrien MFC after: 15 days
Diffstat (limited to 'usr.sbin/lpr/common_source/net.c')
-rw-r--r--usr.sbin/lpr/common_source/net.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/lpr/common_source/net.c b/usr.sbin/lpr/common_source/net.c
index df70ef4..3ae3e90 100644
--- a/usr.sbin/lpr/common_source/net.c
+++ b/usr.sbin/lpr/common_source/net.c
@@ -38,10 +38,8 @@
* From: @(#)common.c 8.5 (Berkeley) 4/28/95
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/socket.h>
OpenPOWER on IntegriCloud