* Fixed remaining K&R shit.

git-svn-id: svn://svn.zoy.org/elk/trunk@90 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
sam 2003-09-04 14:30:21 +00:00
parent 28fb5f0f30
commit 6bc9b501c7
3 changed files with 5 additions and 8 deletions

View File

@ -132,8 +132,7 @@ int Gdbm_fh_Equal (Object a, Object b) {
}
/*ARGSUSED*/
int Gdbm_fh_Print (fh, port, raw, depth, len) Object fh, port;
int /*Bool*/ raw; int depth, len; {
int Gdbm_fh_Print (Object fh, Object port, int raw, int depth, int len) {
Printf (port, "#[gdbm-file %lu]", GDBM_FH(fh)->fptr);
return 0;
}
@ -182,8 +181,7 @@ Object P_Gdbm_Close (Object fh) {
return Void;
}
Object P_Gdbm_Store (fh, key, content, flag)
Object fh, key, content, flag; {
Object P_Gdbm_Store (Object fh, Object key, Object content, Object flag) {
int res;
datum k, c;

View File

@ -65,8 +65,7 @@ static Object P_Environ() {
return P_Reverse(ret);
}
static Object General_Exec(argc, argv, path) int argc; Object *argv;
int path; {
static Object General_Exec(int argc, Object *argv, int path) {
Object fn, args, p, e;
char *fnp, **argp, **envp;
int i, len;

View File

@ -75,8 +75,8 @@ static SYMDESCR Wait_Flags[] = {
#endif
static Object General_Wait(ret, ruret, haspid, pid, options)
Object ret, ruret; int haspid, pid, options; {
static Object General_Wait(Object ret, Object ruret,
int haspid, int pid, int options) {
int retpid, st, code;
char *status;
#ifdef WAIT_RUSAGE