From c439fc14b69724ad85ed28751cdaf2d061390637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Wed, 13 Nov 1996 17:36:36 -0800 Subject: [PATCH] rcsid added Rev: src/global.h:1.3 Rev: src/las.c:1.6 Rev: src/mapping.c:1.7 Rev: src/modules/call_out/call_out.c:1.3 Rev: src/modules/files/file.c:1.11 Rev: src/modules/gdbmmod/gdbmmod.c:1.4 Rev: src/modules/gmpmod/mpz_glue.c:1.7 Rev: src/modules/image/image.c:1.24 Rev: src/modules/pipe/pipe.c:1.6 Rev: src/modules/sprintf/sprintf.c:1.6 Rev: src/object.c:1.5 Rev: src/operators.c:1.3 Rev: src/pike_types.c:1.8 Rev: src/program.c:1.6 Rev: src/testsuite.in:1.8 Rev: src/threads.c:1.10 --- .gitattributes | 15 +++++++++++++++ src/global.h | 6 +++++- src/las.c | 2 +- src/mapping.c | 2 +- src/modules/call_out/call_out.c | 2 +- src/modules/files/file.c | 2 +- src/modules/gdbmmod/gdbmmod.c | 2 +- src/modules/gmpmod/mpz_glue.c | 2 +- src/modules/image/image.c | 2 +- src/modules/pipe/pipe.c | 2 +- src/modules/sprintf/sprintf.c | 2 +- src/object.c | 2 +- src/operators.c | 2 +- src/pike_types.c | 2 +- src/program.c | 2 +- src/testsuite.in | 2 +- src/threads.c | 2 +- 17 files changed, 35 insertions(+), 16 deletions(-) diff --git a/.gitattributes b/.gitattributes index 4c165f6b8e..efc5b8d461 100644 --- a/.gitattributes +++ b/.gitattributes @@ -14,8 +14,10 @@ testfont binary /src/docode.c foreign_ident /src/interpret.c foreign_ident /src/language.yacc foreign_ident +/src/las.c foreign_ident /src/lex.c foreign_ident /src/main.c foreign_ident +/src/mapping.c foreign_ident /src/modules/_Crypto/cbc.c foreign_ident /src/modules/_Crypto/crypto.c foreign_ident /src/modules/_Crypto/crypto.h foreign_ident @@ -28,3 +30,16 @@ testfont binary /src/modules/_Crypto/md5.c foreign_ident /src/modules/_Crypto/md5.pike foreign_ident /src/modules/_Crypto/pipe.c foreign_ident +/src/modules/call_out/call_out.c foreign_ident +/src/modules/files/file.c foreign_ident +/src/modules/gdbmmod/gdbmmod.c foreign_ident +/src/modules/gmpmod/mpz_glue.c foreign_ident +/src/modules/image/image.c foreign_ident +/src/modules/pipe/pipe.c foreign_ident +/src/modules/sprintf/sprintf.c foreign_ident +/src/object.c foreign_ident +/src/operators.c foreign_ident +/src/pike_types.c foreign_ident +/src/program.c foreign_ident +/src/testsuite.in foreign_ident +/src/threads.c foreign_ident diff --git a/src/global.h b/src/global.h index f03ec1a7fa..fe1b58951e 100644 --- a/src/global.h +++ b/src/global.h @@ -73,7 +73,11 @@ char *alloca (); #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) #define RCSID(X) \ static char *rcsid __attribute__ ((unused)) =X; -#elif +#elif __GNUC__ == 2 +#define RCSID(X) \ + static char *rcsid = X; \ + static void *use_rcsid=(&use_rcsid, (void *)&rcsid) +#else #define RCSID(X) \ static char *rcsid = X; #endif diff --git a/src/las.c b/src/las.c index 1b96211770..c70ab1a027 100644 --- a/src/las.c +++ b/src/las.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id"); +RCSID("$Id: las.c,v 1.6 1996/11/14 01:36:28 hubbe Exp $"); #include "language.h" #include "interpret.h" diff --git a/src/mapping.c b/src/mapping.c index 61f9474049..7b792a6a9f 100644 --- a/src/mapping.c +++ b/src/mapping.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id"); +RCSID("$Id: mapping.c,v 1.7 1996/11/14 01:36:29 hubbe Exp $"); #include "main.h" #include "types.h" #include "object.h" diff --git a/src/modules/call_out/call_out.c b/src/modules/call_out/call_out.c index 3fc261dfa2..f46dda09bc 100644 --- a/src/modules/call_out/call_out.c +++ b/src/modules/call_out/call_out.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id"); +RCSID("$Id: call_out.c,v 1.3 1996/11/14 01:36:33 hubbe Exp $"); #include "array.h" #include "dynamic_buffer.h" #include "object.h" diff --git a/src/modules/files/file.c b/src/modules/files/file.c index 7323c40883..020b97ca43 100644 --- a/src/modules/files/file.c +++ b/src/modules/files/file.c @@ -6,7 +6,7 @@ #define READ_BUFFER 16384 #include "global.h" -RCSID("$Id"); +RCSID("$Id: file.c,v 1.11 1996/11/14 01:36:33 hubbe Exp $"); #include "types.h" #include "interpret.h" #include "svalue.h" diff --git a/src/modules/gdbmmod/gdbmmod.c b/src/modules/gdbmmod/gdbmmod.c index 8d976ed645..ba2d166f88 100644 --- a/src/modules/gdbmmod/gdbmmod.c +++ b/src/modules/gdbmmod/gdbmmod.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id"); +RCSID("$Id: gdbmmod.c,v 1.4 1996/11/14 01:36:34 hubbe Exp $"); #include "gdbm_machine.h" #include "types.h" #include "threads.h" diff --git a/src/modules/gmpmod/mpz_glue.c b/src/modules/gmpmod/mpz_glue.c index e122128372..6d7490acad 100644 --- a/src/modules/gmpmod/mpz_glue.c +++ b/src/modules/gmpmod/mpz_glue.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id"); +RCSID("$Id: mpz_glue.c,v 1.7 1996/11/14 01:36:34 hubbe Exp $"); #include "gmp_machine.h" #include "types.h" diff --git a/src/modules/image/image.c b/src/modules/image/image.c index eb93e8167e..3535a90931 100644 --- a/src/modules/image/image.c +++ b/src/modules/image/image.c @@ -5,7 +5,7 @@ #include "stralloc.h" #include "global.h" -RCSID("$Id"); +RCSID("$Id: image.c,v 1.24 1996/11/14 01:36:35 hubbe Exp $"); #include "types.h" #include "macros.h" #include "object.h" diff --git a/src/modules/pipe/pipe.c b/src/modules/pipe/pipe.c index de8f3ec061..e6ceed60bf 100644 --- a/src/modules/pipe/pipe.c +++ b/src/modules/pipe/pipe.c @@ -20,7 +20,7 @@ #include <fcntl.h> #include "global.h" -RCSID("$Id"); +RCSID("$Id: pipe.c,v 1.6 1996/11/14 01:36:35 hubbe Exp $"); #include "stralloc.h" #include "types.h" diff --git a/src/modules/sprintf/sprintf.c b/src/modules/sprintf/sprintf.c index 3d448dec75..fa2ec761f7 100644 --- a/src/modules/sprintf/sprintf.c +++ b/src/modules/sprintf/sprintf.c @@ -96,7 +96,7 @@ */ #include "global.h" -RCSID("$Id"); +RCSID("$Id: sprintf.c,v 1.6 1996/11/14 01:36:36 hubbe Exp $"); #include "error.h" #include "array.h" #include "svalue.h" diff --git a/src/object.c b/src/object.c index 001b2fb4c6..e0ca94a113 100644 --- a/src/object.c +++ b/src/object.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id"); +RCSID("$Id: object.c,v 1.5 1996/11/14 01:36:29 hubbe Exp $"); #include "object.h" #include "dynamic_buffer.h" #include "interpret.h" diff --git a/src/operators.c b/src/operators.c index 1350fc8745..db57f9012b 100644 --- a/src/operators.c +++ b/src/operators.c @@ -5,7 +5,7 @@ \*/ #include <math.h> #include "global.h" -RCSID("$Id"); +RCSID("$Id: operators.c,v 1.3 1996/11/14 01:36:30 hubbe Exp $"); #include "interpret.h" #include "svalue.h" #include "multiset.h" diff --git a/src/pike_types.c b/src/pike_types.c index 7bea8e488c..894f56151d 100644 --- a/src/pike_types.c +++ b/src/pike_types.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id"); +RCSID("$Id: pike_types.c,v 1.8 1996/11/14 01:36:30 hubbe Exp $"); #include <ctype.h> #include "svalue.h" #include "pike_types.h" diff --git a/src/program.c b/src/program.c index db4cc1bc04..25bcbc3088 100644 --- a/src/program.c +++ b/src/program.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id"); +RCSID("$Id: program.c,v 1.6 1996/11/14 01:36:31 hubbe Exp $"); #include "program.h" #include "object.h" #include "dynamic_buffer.h" diff --git a/src/testsuite.in b/src/testsuite.in index fed1d46f8b..91132e4364 100644 --- a/src/testsuite.in +++ b/src/testsuite.in @@ -1,4 +1,4 @@ -test_true("$Id") +test_true("$Id: testsuite.in,v 1.8 1996/11/14 01:36:32 hubbe Exp $") test_any([[object(File) o=File(); return objectp(o);]],1) test_any([[object o=Regexp("foo"); return objectp(o);]],1) test_any([[object o=Regexp("foo"); return object_program(o);]],Regexp) diff --git a/src/threads.c b/src/threads.c index 457d689a97..30a166c911 100644 --- a/src/threads.c +++ b/src/threads.c @@ -1,5 +1,5 @@ #include "global.h" -RCSID("$Id"); +RCSID("$Id: threads.c,v 1.10 1996/11/14 01:36:32 hubbe Exp $"); int num_threads = 1; int threads_disabled = 0; -- GitLab