PERFORCE change 164942 for review
Gabor Kovesdan
gabor at FreeBSD.org
Tue Jun 23 07:59:48 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=164942
Change 164942 by gabor at gabor_server on 2009/06/23 07:59:36
- Makefile nits
- Add $FreeBSD$ tags
Affected files ...
.. //depot/projects/soc2008/gabor_textproc/dc/Makefile#3 edit
.. //depot/projects/soc2008/gabor_textproc/dc/USD.doc/Makefile#2 edit
.. //depot/projects/soc2008/gabor_textproc/dc/bcode.c#3 edit
.. //depot/projects/soc2008/gabor_textproc/dc/bcode.h#3 edit
.. //depot/projects/soc2008/gabor_textproc/dc/dc.c#3 edit
.. //depot/projects/soc2008/gabor_textproc/dc/extern.h#2 edit
.. //depot/projects/soc2008/gabor_textproc/dc/inout.c#3 edit
.. //depot/projects/soc2008/gabor_textproc/dc/mem.c#2 edit
.. //depot/projects/soc2008/gabor_textproc/dc/stack.c#3 edit
Differences ...
==== //depot/projects/soc2008/gabor_textproc/dc/Makefile#3 (text+ko) ====
@@ -5,6 +5,8 @@
LDADD= -lcrypto
DPADD= ${LIBCRYPTO}
+SUBDIR+= USD.doc
+
WARNS?= 6
.include <bsd.prog.mk>
==== //depot/projects/soc2008/gabor_textproc/dc/USD.doc/Makefile#2 (text+ko) ====
@@ -1,8 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2004/02/01 15:18:01 jmc Exp $
+DOC= dc
DIR= usd/05.dc
SRCS= dc
MACROS= -ms
+BINDIR= /usr/share/doc/papers
paper.ps: ${SRCS}
${EQN} ${SRCS} | ${ROFF} > ${.TARGET}
==== //depot/projects/soc2008/gabor_textproc/dc/bcode.c#3 (text+ko) ====
@@ -16,9 +16,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef lint
-static const char rcsid[] = "$OpenBSD: bcode.c,v 1.38 2008/11/24 08:48:48 otto Exp $";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <err.h>
#include <limits.h>
==== //depot/projects/soc2008/gabor_textproc/dc/bcode.h#3 (text+ko) ====
@@ -1,3 +1,4 @@
+/* $FreeBSD$ */
/* $OpenBSD: bcode.h,v 1.5 2006/01/16 08:09:25 otto Exp $ */
/*
@@ -19,7 +20,6 @@
#include <sys/types.h>
#include <openssl/bn.h>
-
struct number {
BIGNUM *number;
u_int scale;
==== //depot/projects/soc2008/gabor_textproc/dc/dc.c#3 (text+ko) ====
@@ -17,9 +17,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef lint
-static const char rcsid[] = "$OpenBSD: dc.c,v 1.10 2007/07/29 17:12:18 sobrado Exp $";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/stat.h>
@@ -34,7 +33,7 @@
#include "extern.h"
-#define VERSION "1.3"
+#define DC_VER "1.3-FreeBSD"
static void usage(void);
@@ -110,7 +109,7 @@
extended_regs = true;
break;
case 'V':
- printf("%s (BSD dc) %s\n", __progname, VERSION);
+ fprintf(stderr, "%s (BSD bc) %s\n", __progname, DC_VER);
exit(0);
break;
case '-':
==== //depot/projects/soc2008/gabor_textproc/dc/extern.h#2 (text+ko) ====
@@ -1,3 +1,4 @@
+/* $FreeBSD$ */
/* $OpenBSD: extern.h,v 1.3 2006/01/16 08:09:25 otto Exp $ */
/*
==== //depot/projects/soc2008/gabor_textproc/dc/inout.c#3 (text+ko) ====
@@ -16,9 +16,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef lint
-static const char rcsid[] = "$OpenBSD: inout.c,v 1.14 2006/01/15 19:11:59 otto Exp $";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <openssl/ssl.h>
#include <ctype.h>
==== //depot/projects/soc2008/gabor_textproc/dc/mem.c#2 (text+ko) ====
@@ -16,9 +16,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef lint
-static const char rcsid[] = "$OpenBSD: mem.c,v 1.4 2004/07/11 06:41:48 otto Exp $";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <openssl/err.h>
==== //depot/projects/soc2008/gabor_textproc/dc/stack.c#3 (text+ko) ====
@@ -16,9 +16,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef lint
-static const char rcsid[] = "$OpenBSD: stack.c,v 1.10 2008/04/28 06:35:09 otto Exp $";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <err.h>
#include <stdlib.h>
More information about the p4-projects
mailing list