aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2002-01-29 17:12:25 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2002-01-29 17:12:25 +0000
commit2012d213f7a837f8fd3b185be947b9def0fe9c34 (patch)
tree0b7efe0e29a033b816a8880e53eb46b028a3a9f4
parent8409c38348dd187ed68be674696820e766a99c22 (diff)
downloadsrc-2012d213f7a837f8fd3b185be947b9def0fe9c34.tar.gz
src-2012d213f7a837f8fd3b185be947b9def0fe9c34.zip
FreeBSD 4.3 doesn't have __FBSDID. Do it the old-fashioned way instead.
Reported by: Steven Farmer <steve@geoenergycorp.com> Pointy hat to: nectar
Notes
Notes: svn path=/releng/4.3/; revision=89962
-rw-r--r--contrib/diff/sdiff.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/diff/sdiff.c b/contrib/diff/sdiff.c
index 5b5759ededcd..83f3ac025177 100644
--- a/contrib/diff/sdiff.c
+++ b/contrib/diff/sdiff.c
@@ -19,8 +19,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* GNU SDIFF was written by Thomas Lord. */
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
+#ifndef lint
+static const char rcsid[] =
+"$FreeBSD$";
+#endif /* not lint */
#include "system.h"
#include <stdio.h>