From c2f189c855c1646c8361975aac46ae2b31f8c63c Mon Sep 17 00:00:00 2001 From: keie Date: Fri, 17 Aug 1984 14:44:24 +0000 Subject: [PATCH] Added RCS identification. --- util/ack/Makefile | 1 + util/ack/ack.h | 4 ++++ util/ack/data.c | 7 +++++++ util/ack/data.h | 4 ++++ util/ack/dmach.h | 4 ++++ util/ack/files.c | 4 ++++ util/ack/grows.c | 5 +++++ util/ack/grows.h | 4 ++++ util/ack/list.c | 5 +++++ util/ack/list.h | 4 ++++ util/ack/main.c | 5 +++++ util/ack/malloc.c | 4 ++++ util/ack/mktables.c | 4 ++++ util/ack/rmach.c | 5 +++++ util/ack/run.c | 4 ++++ util/ack/scan.c | 4 ++++ util/ack/svars.c | 4 ++++ util/ack/trans.c | 5 +++++ util/ack/trans.h | 4 ++++ util/ack/util.c | 4 ++++ 20 files changed, 85 insertions(+) diff --git a/util/ack/Makefile b/util/ack/Makefile index 3b985e7d2..9571da562 100644 --- a/util/ack/Makefile +++ b/util/ack/Makefile @@ -1,3 +1,4 @@ +# $Header$ HFILES=ack.h list.h trans.h data.h dmach.h grows.h DSRC=list.c data.c main.c scan.c svars.c trans.c util.c rmach.c run.c grows.c\ files.c diff --git a/util/ack/ack.h b/util/ack/ack.h index b084a647b..0c1195f2d 100644 --- a/util/ack/ack.h +++ b/util/ack/ack.h @@ -1,3 +1,7 @@ +#ifndef NORCSID +#define RCS_ACK "$Header$" +#endif + /****************************************************************************/ /* User settable options */ /****************************************************************************/ diff --git a/util/ack/data.c b/util/ack/data.c index b92fc8bd8..56e1b7d9c 100644 --- a/util/ack/data.c +++ b/util/ack/data.c @@ -2,8 +2,15 @@ #include "list.h" #include "trans.h" +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +#endif #undef EXTERN #define EXTERN #include "data.h" + +#ifndef NORCSID +static char rcs_data[] = RCS_DATA ; +#endif diff --git a/util/ack/data.h b/util/ack/data.h index 23af80c5c..53f97b752 100644 --- a/util/ack/data.h +++ b/util/ack/data.h @@ -1,3 +1,7 @@ +#ifndef NORCSID +#define RCS_DATA "$Header$" +#endif + EXTERN char *stopsuffix; /* Suffix to stop at */ EXTERN char *machine; /* The machine id */ EXTERN char *rts; /* The runtime-system id */ diff --git a/util/ack/dmach.h b/util/ack/dmach.h index 1e7880ada..3e8d853bf 100644 --- a/util/ack/dmach.h +++ b/util/ack/dmach.h @@ -4,6 +4,10 @@ /* */ /***************************************************************/ +#ifndef NORCSID +#define RCS_DMACH "$Header$" +#endif + typedef struct { char *ma_name ; /* The name of the machine */ diff --git a/util/ack/files.c b/util/ack/files.c index 83f14cd90..e67768be7 100644 --- a/util/ack/files.c +++ b/util/ack/files.c @@ -22,6 +22,10 @@ #include "data.h" #include "../../h/em_path.h" +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +#endif + setfiles(phase) register trf *phase ; { /* Set the out structure according to the in structure, the transformation and some global data */ diff --git a/util/ack/grows.c b/util/ack/grows.c index 0b870e003..a4c5f9141 100644 --- a/util/ack/grows.c +++ b/util/ack/grows.c @@ -24,6 +24,11 @@ #include "ack.h" #include "grows.h" +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +static char rcs_grows[] = RCS_GROWS ; +#endif + gr_add(id,c) register growstring *id ; char c ; { if ( id->gr_size==id->gr_max) { if ( id->gr_size==0 ) { /* The first time */ diff --git a/util/ack/grows.h b/util/ack/grows.h index 9e7d55c12..f048aba83 100644 --- a/util/ack/grows.h +++ b/util/ack/grows.h @@ -1,3 +1,7 @@ +#ifndef NORCSID +#define RCS_GROWS "$Header$" +#endif + /* struct used to identify and do bookkeeping for growing strings */ typedef struct { diff --git a/util/ack/list.c b/util/ack/list.c index fb28fd2ad..9b0097e9e 100644 --- a/util/ack/list.c +++ b/util/ack/list.c @@ -18,6 +18,11 @@ #include "ack.h" #include "list.h" +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +static char rcs_list[] = RCS_LIST ; +#endif + /* List handling, operations allowed: adding strings to the list, throwing away whole lists, diff --git a/util/ack/list.h b/util/ack/list.h index d39aea4c1..bec3bfac4 100644 --- a/util/ack/list.h +++ b/util/ack/list.h @@ -1,3 +1,7 @@ +#ifndef NORCSID +#define RCS_LIST "$Header$" +#endif + struct ca_elem { struct ca_elem *ca_next; /* The link */ char *ca_cont; /* The contents */ diff --git a/util/ack/main.c b/util/ack/main.c index bc0abf964..471383485 100644 --- a/util/ack/main.c +++ b/util/ack/main.c @@ -23,6 +23,11 @@ #include "data.h" #include +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +static char rcs_ack[] = RCS_ACK ; +#endif + static int sigs[] = { SIGINT, SIGHUP, SIGTERM, 0 } ; extern char *getenv(); diff --git a/util/ack/malloc.c b/util/ack/malloc.c index b9ec3df2c..87a4bce50 100644 --- a/util/ack/malloc.c +++ b/util/ack/malloc.c @@ -29,6 +29,10 @@ char *s; #define ASSERT(p) #endif +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +#endif + /* avoid break bug */ #ifdef pdp11 #define GRANULE 64 diff --git a/util/ack/mktables.c b/util/ack/mktables.c index fffaa038d..9adb9f44a 100644 --- a/util/ack/mktables.c +++ b/util/ack/mktables.c @@ -18,6 +18,10 @@ #include #include +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +#endif + char *fname = 0 ; char dname[200] ; char *tail ; diff --git a/util/ack/rmach.c b/util/ack/rmach.c index b0d8309eb..a8c83e541 100644 --- a/util/ack/rmach.c +++ b/util/ack/rmach.c @@ -24,6 +24,11 @@ #include "data.h" #include +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +static char rcs_dmach[] = RCS_DMACH ; +#endif + /************************************************************************/ /* */ /* Read machine definitions and transformations */ diff --git a/util/ack/run.c b/util/ack/run.c index a55c759f9..287421572 100644 --- a/util/ack/run.c +++ b/util/ack/run.c @@ -21,6 +21,10 @@ #include "data.h" #include +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +#endif + #define ARG_MORE 40 /* The size of args chunks to allocate */ static char **arglist ; /* The first argument */ diff --git a/util/ack/scan.c b/util/ack/scan.c index 63a5b7c1a..708758fde 100644 --- a/util/ack/scan.c +++ b/util/ack/scan.c @@ -20,6 +20,10 @@ #include "trans.h" #include "data.h" +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +#endif + enum f_path setpath() { /* Try to find a transformation path */ start_scan(); diff --git a/util/ack/svars.c b/util/ack/svars.c index 4749fe1ef..c6cd6b41f 100644 --- a/util/ack/svars.c +++ b/util/ack/svars.c @@ -17,6 +17,10 @@ #include "ack.h" +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +#endif + /* The processing of string valued variables, this is an almost self contained module. diff --git a/util/ack/trans.c b/util/ack/trans.c index 3eeab9841..0d83455ea 100644 --- a/util/ack/trans.c +++ b/util/ack/trans.c @@ -21,6 +21,11 @@ #include "grows.h" #include "data.h" +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +static char rcs_trans[] = RCS_TRANS ; +#endif + /****************************************************************************/ /* Routines for transforming from one file type to another */ /****************************************************************************/ diff --git a/util/ack/trans.h b/util/ack/trans.h index 7e305d605..a37751539 100644 --- a/util/ack/trans.h +++ b/util/ack/trans.h @@ -1,3 +1,7 @@ +#ifndef NORCSID +#define RCS_TRANS "$Header$" +#endif + /* This structure is the center of all actions */ /* It contains the description of all phases, the suffices they consume and produce and various properties */ diff --git a/util/ack/util.c b/util/ack/util.c index ac32f38ca..77e6f18ec 100644 --- a/util/ack/util.c +++ b/util/ack/util.c @@ -26,6 +26,10 @@ #include #include +#ifndef NORCSID +static char rcs_id[] = "$Header$" ; +#endif + extern char *progname ; extern int w_flag ; extern int n_error; -- 2.34.1