git: 97cb7bde896d - stable/14 - lpr: Remove now unused fallback definition for __FBSDID
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Oct 2023 18:37:06 UTC
The branch stable/14 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=97cb7bde896d2661bd0405b94d60297c51eb7c7c
commit 97cb7bde896d2661bd0405b94d60297c51eb7c7c
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-09-25 14:50:33 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-10-24 17:10:04 +0000
lpr: Remove now unused fallback definition for __FBSDID
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41956
(cherry picked from commit e4c68414d0854b5e43dfd1b2b0cfbc295702e831)
---
usr.sbin/lpr/common_source/lp.cdefs.h | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/usr.sbin/lpr/common_source/lp.cdefs.h b/usr.sbin/lpr/common_source/lp.cdefs.h
index c3ca409b6a8b..f5adf6e0ba5d 100644
--- a/usr.sbin/lpr/common_source/lp.cdefs.h
+++ b/usr.sbin/lpr/common_source/lp.cdefs.h
@@ -81,20 +81,6 @@
# define __unused
#endif
-/*
- * All the lpr source files will want to reference __FBSDID() to
- * handle rcs id's.
- */
-#if !defined(__FBSDID)
-# if defined(lint) || defined(STRIP_FBSDID)
-# define __FBSDID(s) struct skip_rcsid_struct
-# elif defined(__IDSTRING) /* NetBSD */
-# define __FBSDID(s) __IDSTRING(rcsid,s)
-# else
-# define __FBSDID(s) static const char rcsid[] __unused = s
-# endif
-#endif /* __FBSDID */
-
/*
* Some lpr include files use __BEGIN_DECLS and __END_DECLS.
*/