Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 14:58:15 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e4c68414d085 - main - lpr: Remove now unused fallback definition for __FBSDID
Message-ID:  <202309251458.38PEwFIi044637@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=e4c68414d0854b5e43dfd1b2b0cfbc295702e831

commit e4c68414d0854b5e43dfd1b2b0cfbc295702e831
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-09-25 14:50:33 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-09-25 14:50:33 +0000

    lpr: Remove now unused fallback definition for __FBSDID
    
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D41956
---
 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?202309251458.38PEwFIi044637>