Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2008 03:21:05 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 153734 for review
Message-ID:  <200811290321.mAT3L5G7044698@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=153734

Change 153734 by peter@peter_overcee on 2008/11/29 03:20:07

	Get rid of getosreldate() hackery.

Affected files ...

.. //depot/projects/hammer/include/Makefile#78 edit

Differences ...

==== //depot/projects/hammer/include/Makefile#78 (text+ko) ====

@@ -107,16 +107,7 @@
 	echo "#else" >> osreldate.h; \
 	echo "#undef __FreeBSD_version" >> osreldate.h; \
 	echo "#define __FreeBSD_version $$RELDATE" >> osreldate.h; \
-	echo "#ifdef __STDC__" >> osreldate.h; \
-	echo "#ifndef _OSRELDATE_H" >> osreldate.h; \
-	echo "#define _OSRELDATE_H" >> osreldate.h; \
-	echo "#include <sys/cdefs.h>" >> osreldate.h; \
-	echo "__BEGIN_DECLS" >> osreldate.h; \
-	echo "extern int getosreldate(void);" >> osreldate.h; \
-	echo "__END_DECLS" >> osreldate.h; \
-	echo "#endif /* _OSRELDATE_H */" >> osreldate.h; \
-	echo "#endif /* __STDC__ */" >> osreldate.h; \
-	echo "#endif /* _KERNEL */" >> osreldate.h
+	echo "#endif" >> osreldate.h
 
 .for i in ${LHDRS}
 INCSLINKS+=	sys/$i ${INCLUDEDIR}/$i



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