projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add copyright
[unix-history]
/
usr
/
src
/
usr.bin
/
ex
/
ex_argv.h
diff --git
a/usr/src/usr.bin/ex/ex_argv.h
b/usr/src/usr.bin/ex/ex_argv.h
index
666045b
..
23a8eec
100644
(file)
--- a/
usr/src/usr.bin/ex/ex_argv.h
+++ b/
usr/src/usr.bin/ex/ex_argv.h
@@
-1,4
+1,11
@@
-/* Copyright (c) 1979 Regents of the University of California */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)ex_argv.h 7.3 (Berkeley) %G%
+ */
+
/*
* The current implementation of the argument list is poor,
* using an argv even for internally done "next" commands.
/*
* The current implementation of the argument list is poor,
* using an argv even for internally done "next" commands.
@@
-6,16
+13,16
@@
* space. The statically allocated glob structure could be replaced
* by a dynamically allocated argument area space.
*/
* space. The statically allocated glob structure could be replaced
* by a dynamically allocated argument area space.
*/
-
char
**argv;
-
char
**argv0;
-
char
*args;
-
char
*args0;
-
short
argc;
-
short
argc0;
-
short
morargc; /* Used with "More files to edit..." */
+
var char
**argv;
+
var char
**argv0;
+
var char
*args;
+
var char
*args0;
+
var short
argc;
+
var short
argc0;
+
var short
morargc; /* Used with "More files to edit..." */
-
int
firstln; /* From +lineno */
-
char
*firstpat; /* From +/pat */
+
var int
firstln; /* From +lineno */
+
var char
*firstpat; /* From +/pat */
/* Yech... */
struct glob {
/* Yech... */
struct glob {
@@
-23,4
+30,5
@@
struct glob {
short argc0; /* Number of arguments in argv */
char *argv[NARGS + 1]; /* WHAT A WASTE! */
char argspac[NCARGS + sizeof (int)];
short argc0; /* Number of arguments in argv */
char *argv[NARGS + 1]; /* WHAT A WASTE! */
char argspac[NCARGS + sizeof (int)];
-} frob;
+};
+var struct glob frob;