This commit was generated by cvs2svn to compensate for changes in r40, which
included commits to RCS files with non-trunk default branches.
This commit is contained in:
commit
3373238ff4
6
main.c
6
main.c
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: main.c,v 1.24 2003/04/04 23:12:02 deraadt Exp $ */
|
||||
/* $OpenBSD: main.c,v 1.25 2003/06/26 00:09:45 deraadt Exp $ */
|
||||
|
||||
/*
|
||||
* startup, main loop, environments and error handling
|
||||
|
@ -83,9 +83,7 @@ static const char *const initcoms [] = {
|
|||
};
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
register char **argv;
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
register int i;
|
||||
int argi;
|
||||
|
|
4
var.c
4
var.c
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: var.c,v 1.14 2003/04/16 23:11:52 tdeval Exp $ */
|
||||
/* $OpenBSD: var.c,v 1.15 2003/06/26 00:09:45 deraadt Exp $ */
|
||||
|
||||
#include "sh.h"
|
||||
#include "ksh_time.h"
|
||||
|
@ -125,6 +125,8 @@ initvar()
|
|||
* non-zero if this is an array, sets *valp to the array index, returns
|
||||
* the basename of the array.
|
||||
*/
|
||||
const char *array_index_calc(const char *n, bool_t *arrayp, int *valp);
|
||||
|
||||
const char *
|
||||
array_index_calc(n, arrayp, valp)
|
||||
const char *n;
|
||||
|
|
Loading…
Reference in New Issue