Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2023 18:37:06 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 97cb7bde896d - stable/14 - lpr: Remove now unused fallback definition for __FBSDID
Message-ID:  <202310241837.39OIb6tZ088272@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
  */



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