Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/csh Sprinkle some `extern' qualifiers for initialised gl...
details: https://anonhg.NetBSD.org/src/rev/353ef4772ec6
branches: trunk
changeset: 500561:353ef4772ec6
user: scw <scw%NetBSD.org@localhost>
date: Wed Dec 13 22:29:41 2000 +0000
description:
Sprinkle some `extern' qualifiers for initialised globals.
diffstat:
bin/csh/csh.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r fffbd400d0bb -r 353ef4772ec6 bin/csh/csh.h
--- a/bin/csh/csh.h Wed Dec 13 22:14:40 2000 +0000
+++ b/bin/csh/csh.h Wed Dec 13 22:29:41 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: csh.h,v 1.12 2000/05/31 22:48:45 christos Exp $ */
+/* $NetBSD: csh.h,v 1.13 2000/12/13 22:29:41 scw Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993
@@ -127,7 +127,7 @@
bool havhash; /* path hashing is available */
#ifdef FILEC
-bool filec; /* doing filename expansion */
+extern bool filec; /* doing filename expansion */
#endif
/*
@@ -137,7 +137,7 @@
int onelflg; /* 2 -> need line for -t, 1 -> exit on read */
Char *ffile; /* Name of shell file for $0 */
-char *seterr; /* Error message from scanner/parser */
+extern char *seterr; /* Error message from scanner/parser */
Char *shtemp; /* Temp name for << shell files in /tmp */
#include <sys/types.h>
@@ -431,7 +431,7 @@
*/
struct wordent *alhistp; /* Argument list (first) */
struct wordent *alhistt; /* Node after last in arg list */
-Char **alvec, *alvecp; /* The (remnants of) alias vector */
+extern Char **alvec, *alvecp; /* The (remnants of) alias vector */
/*
* Filename/command name expansion variables
Home |
Main Index |
Thread Index |
Old Index