run GNU protoize

protect header files
nuke some dead code
regenerate configure script
let silly code die
This commit is contained in:
tg
2004-10-28 11:53:44 +00:00
parent dc7da8ddbf
commit b2de14e57c
46 changed files with 1024 additions and 1991 deletions

12
sh.h
View File

@ -1,6 +1,9 @@
/** $MirBSD: sh.h,v 1.14 2004/10/28 11:11:19 tg Exp $ */
/** $MirBSD: sh.h,v 1.15 2004/10/28 11:53:43 tg Exp $ */
/* $OpenBSD: sh.h,v 1.18 2004/05/31 10:36:35 otto Exp $ */
#ifndef SH_H
#define SH_H
/*
* mirbsdksh - MirOS Project Korn-Shell
* from: Public Domain Bourne/Korn shell
@ -102,13 +105,8 @@ void *memmove(void *d, const void *s, size_t n);
# endif
#endif /* HAVE_MEMMOVE */
#ifdef HAVE_PROTOTYPES
# include <stdarg.h>
# define SH_VA_START(va, argn) va_start(va, argn)
#else
# include <varargs.h>
# define SH_VA_START(va, argn) va_start(va)
#endif /* HAVE_PROTOTYPES */
#include <errno.h>
@ -722,3 +720,5 @@ EXTERN int x_cols I__(80); /* tty columns */
# undef EXTERN
#endif
#undef I__
#endif /* ndef SH_H */