__RCSID is not a portable macro to be using in a host tool (which

these files are).  As a short-term work-around, only use it if it
is defined.  A better solution will be worked out with the Heimdal
folks later.

Fixes building these host tools on Solaris 8.
This commit is contained in:
thorpej 2002-09-13 19:09:00 +00:00
parent f54ca60093
commit f603ddfaad
21 changed files with 64 additions and 22 deletions

View File

@ -33,8 +33,10 @@
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: gen.c,v 1.49 2002/09/04 15:06:18 joda Exp $"
"$NetBSD: gen.c,v 1.4 2002/09/12 13:19:05 joda Exp $");
"$NetBSD: gen.c,v 1.5 2002/09/13 19:09:00 thorpej Exp $");
#endif
FILE *headerfile, *codefile, *logfile;

View File

@ -33,8 +33,10 @@
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: gen_copy.c,v 1.12 2001/09/25 13:39:26 assar Exp $"
"$NetBSD: gen_copy.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: gen_copy.c,v 1.2 2002/09/13 19:09:00 thorpej Exp $");
#endif
static void
copy_primitive (const char *typename, const char *from, const char *to)

View File

@ -33,8 +33,10 @@
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: gen_decode.c,v 1.18 2002/08/09 15:37:34 joda Exp $"
"$NetBSD: gen_decode.c,v 1.1.1.5 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: gen_decode.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
static void
decode_primitive (const char *typename, const char *name)

View File

@ -33,8 +33,10 @@
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: gen_encode.c,v 1.12 2001/09/25 13:39:26 assar Exp $"
"$NetBSD: gen_encode.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: gen_encode.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
static void
encode_primitive (const char *typename, const char *name)

View File

@ -33,8 +33,10 @@
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: gen_free.c,v 1.9 2001/09/25 13:39:26 assar Exp $"
"$NetBSD: gen_free.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: gen_free.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
static void
free_primitive (const char *typename, const char *name)

View File

@ -33,8 +33,10 @@
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: gen_glue.c,v 1.7 1999/12/02 17:05:02 joda Exp $"
"$NetBSD: gen_glue.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: gen_glue.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
static void
generate_2int (const Symbol *s)

View File

@ -33,8 +33,10 @@
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: gen_length.c,v 1.11 2001/09/25 13:39:26 assar Exp $"
"$NetBSD: gen_length.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: gen_length.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
static void
length_primitive (const char *typename,

View File

@ -37,8 +37,10 @@
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: hash.c,v 1.8 1999/12/02 17:05:02 joda Exp $"
"$NetBSD: hash.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: hash.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
static Hashentry *_search(Hashtab * htab, /* The hash table */
void *ptr); /* And key */

View File

@ -34,8 +34,10 @@
#include "gen_locl.h"
#include <getarg.h>
#ifdef __RCSID
__RCSID("$Heimdal: main.c,v 1.11 2001/02/20 01:44:52 assar Exp $"
"$NetBSD: main.c,v 1.1.1.4 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: main.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
extern FILE *yyin;

View File

@ -32,7 +32,7 @@
*/
/* $Heimdal: parse.y,v 1.19 2001/09/27 16:21:47 assar Exp $
$NetBSD: parse.y,v 1.1.1.4 2002/09/12 12:41:40 joda Exp $ */
$NetBSD: parse.y,v 1.2 2002/09/13 19:09:01 thorpej Exp $ */
%{
#ifdef HAVE_CONFIG_H
@ -45,8 +45,10 @@
#include "lex.h"
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: parse.y,v 1.19 2001/09/27 16:21:47 assar Exp $"
"$NetBSD: parse.y,v 1.1.1.4 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: parse.y,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
static Type *new_type (Typetype t);
void yyerror (char *);

View File

@ -33,8 +33,10 @@
#include "gen_locl.h"
#ifdef __RCSID
__RCSID("$Heimdal: symbol.c,v 1.9 2001/09/25 13:39:27 assar Exp $"
"$NetBSD: symbol.c,v 1.1.1.3 2002/09/12 12:41:40 joda Exp $");
"$NetBSD: symbol.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
static Hashtab *htab;

View File

@ -35,8 +35,10 @@
#include "compile_et.h"
#include <getarg.h>
#ifdef __RCSID
__RCSID("$Heimdal: compile_et.c,v 1.16 2002/08/20 12:44:51 joda Exp $"
"$NetBSD: compile_et.c,v 1.1.1.4 2002/09/12 12:41:44 joda Exp $");
"$NetBSD: compile_et.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
#include <roken.h>
#include <err.h>

View File

@ -44,8 +44,10 @@
#include "parse.h"
#include "lex.h"
#ifdef __RCSID
__RCSID("$Heimdal: lex.l,v 1.6 2000/06/22 00:42:52 assar Exp $"
"$NetBSD: lex.l,v 1.1.1.3 2002/09/12 12:41:44 joda Exp $");
"$NetBSD: lex.l,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
static unsigned lineno = 1;
static int getstring(void);

View File

@ -35,8 +35,10 @@
#include "compile_et.h"
#include "lex.h"
#ifdef __RCSID
__RCSID("$Heimdal: parse.y,v 1.11 2000/06/22 00:42:52 assar Exp $"
"$NetBSD: parse.y,v 1.1.1.3 2002/09/12 12:41:44 joda Exp $");
"$NetBSD: parse.y,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
void yyerror (char *s);
static long name2number(const char *str);

View File

@ -33,8 +33,10 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef __RCSID
__RCSID("$Heimdal: emalloc.c,v 1.5 2001/06/17 12:07:48 assar Exp $"
"$NetBSD: emalloc.c,v 1.1.1.4 2002/09/12 12:41:41 joda Exp $");
"$NetBSD: emalloc.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
#endif
#include <stdlib.h>

View File

@ -33,8 +33,10 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef __RCSID
__RCSID("$Heimdal: get_window_size.c,v 1.9 1999/12/02 16:58:46 joda Exp $"
"$NetBSD: get_window_size.c,v 1.1.1.3 2002/09/12 12:41:42 joda Exp $");
"$NetBSD: get_window_size.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
#endif
#include <stdlib.h>

View File

@ -33,8 +33,10 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef __RCSID
__RCSID("$Heimdal: getarg.c,v 1.46 2002/08/20 16:23:07 joda Exp $"
"$NetBSD: getarg.c,v 1.1.1.6 2002/09/12 12:41:42 joda Exp $");
"$NetBSD: getarg.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
#endif
#include <stdio.h>

View File

@ -33,8 +33,10 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef __RCSID
__RCSID("$Heimdal: print_version.c,v 1.8 2001/02/20 01:44:55 assar Exp $"
"$NetBSD: print_version.c,v 1.1.1.5 2002/09/12 12:41:42 joda Exp $");
"$NetBSD: print_version.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
#endif
#include "roken.h"

View File

@ -33,8 +33,10 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef __RCSID
__RCSID("$Heimdal: strupr.c,v 1.4 1999/12/02 16:58:53 joda Exp $"
"$NetBSD: strupr.c,v 1.1.1.3 2002/09/12 12:41:42 joda Exp $");
"$NetBSD: strupr.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
#endif
#include <string.h>
#include <ctype.h>

View File

@ -33,8 +33,10 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef __RCSID
__RCSID("$Heimdal: warnerr.c,v 1.15 2001/07/09 14:56:51 assar Exp $"
"$NetBSD: warnerr.c,v 1.1.1.5 2002/09/12 12:41:42 joda Exp $");
"$NetBSD: warnerr.c,v 1.2 2002/09/13 19:09:01 thorpej Exp $");
#endif
#endif
#include "roken.h"

View File

@ -33,8 +33,10 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef __RCSID
__RCSID("$Heimdal: make-print-version.c,v 1.2 2000/07/08 10:46:36 assar Exp $"
"$NetBSD: make-print-version.c,v 1.2 2002/09/12 13:19:23 joda Exp $");
"$NetBSD: make-print-version.c,v 1.3 2002/09/13 19:09:02 thorpej Exp $");
#endif
#endif
#include <stdio.h>