Date: Sat, 30 Jun 2007 22:13:15 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 122589 for review Message-ID: <200706302213.l5UMDFQm001049@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122589 Change 122589 by peter@peter_overcee on 2007/06/30 22:12:54 getosreldate(3) says that the prototype is in osreldate.h. It was missing and isn't actually anywhere. Add it. Affected files ... .. //depot/projects/hammer/include/Makefile#63 edit Differences ... ==== //depot/projects/hammer/include/Makefile#63 (text+ko) ==== @@ -99,11 +99,15 @@ PARAMFILE=${.CURDIR}/../sys/sys/param.h; \ . ${.CURDIR}/../sys/conf/newvers.sh; \ echo "$$COPYRIGHT" > osreldate.h; \ + echo "#include <sys/cdefs.h>" >> osreldate.h echo "#ifdef _KERNEL" >> osreldate.h; \ echo "#error \"<osreldate.h> cannot be used in the kernel, use <sys/param.h>\"" >> osreldate.h; \ echo "#else" >> osreldate.h; \ echo "#undef __FreeBSD_version" >> osreldate.h; \ echo "#define __FreeBSD_version $$RELDATE" >> osreldate.h; \ + echo "__BEGIN_DECLS" >> osreldate.h + echo "extern int getosreldate(void);" >> osreldate.h + echo "__END_DECLS" >> osreldate.h echo "#endif" >> osreldate.h .for i in ${LHDRS}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706302213.l5UMDFQm001049>