KNF; no variable name in function prototype.

This commit is contained in:
uebayasi 2007-11-23 12:39:15 +00:00
parent 8243c53652
commit 2b37ebddcf
10 changed files with 30 additions and 30 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: adjtime.c,v 1.9 2007/11/22 21:11:31 dsl Exp $ */
/* $NetBSD: adjtime.c,v 1.10 2007/11/23 12:39:15 uebayasi Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: adjtime.c,v 1.9 2007/11/22 21:11:31 dsl Exp $");
__RCSID("$NetBSD: adjtime.c,v 1.10 2007/11/23 12:39:15 uebayasi Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@ -55,7 +55,7 @@ __weak_alias(adjtime,_adjtime)
extern int __clockctl_fd;
int __adjtime(const struct timeval *delta, struct timeval *olddelta);
int __adjtime(const struct timeval *, struct timeval *);
int
adjtime(delta, olddelta)

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock_settime.c,v 1.9 2007/11/22 21:11:31 dsl Exp $ */
/* $NetBSD: clock_settime.c,v 1.10 2007/11/23 12:39:15 uebayasi Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: clock_settime.c,v 1.9 2007/11/22 21:11:31 dsl Exp $");
__RCSID("$NetBSD: clock_settime.c,v 1.10 2007/11/23 12:39:15 uebayasi Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@ -57,7 +57,7 @@ __weak_alias(clock_settime,_clock_settime)
extern int __clockctl_fd;
int __clock_settime(clockid_t clock_id, const struct timespec *tp);
int __clock_settime(clockid_t, const struct timespec *);
int
clock_settime(clock_id, tp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ftruncate.c,v 1.12 2007/11/22 21:11:31 dsl Exp $ */
/* $NetBSD: ftruncate.c,v 1.13 2007/11/23 12:39:15 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)ftruncate.c 8.1 (Berkeley) 6/17/93";
#else
__RCSID("$NetBSD: ftruncate.c,v 1.12 2007/11/22 21:11:31 dsl Exp $");
__RCSID("$NetBSD: ftruncate.c,v 1.13 2007/11/23 12:39:15 uebayasi Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -47,7 +47,7 @@ __RCSID("$NetBSD: ftruncate.c,v 1.12 2007/11/22 21:11:31 dsl Exp $");
__weak_alias(ftruncate,_ftruncate)
#endif
int __ftruncate(int fd, int, off_t length);
int __ftruncate(int, int, off_t);
/*
* This function provides 64-bit offset padding that

View File

@ -1,4 +1,4 @@
/* $NetBSD: lseek.c,v 1.9 2007/11/22 21:11:31 dsl Exp $ */
/* $NetBSD: lseek.c,v 1.10 2007/11/23 12:39:15 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)lseek.c 8.1 (Berkeley) 6/17/93";
#else
__RCSID("$NetBSD: lseek.c,v 1.9 2007/11/22 21:11:31 dsl Exp $");
__RCSID("$NetBSD: lseek.c,v 1.10 2007/11/23 12:39:15 uebayasi Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -47,7 +47,7 @@ __RCSID("$NetBSD: lseek.c,v 1.9 2007/11/22 21:11:31 dsl Exp $");
__weak_alias(lseek,_lseek)
#endif
off_t __lseek(int fd, int, off_t offset, int whence);
off_t __lseek(int, int, off_t, int);
/*
* This function provides 64-bit offset padding that

View File

@ -1,4 +1,4 @@
/* $NetBSD: mmap.c,v 1.13 2007/11/22 21:11:31 dsl Exp $ */
/* $NetBSD: mmap.c,v 1.14 2007/11/23 12:39:15 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)mmap.c 8.1 (Berkeley) 6/17/93";
#else
__RCSID("$NetBSD: mmap.c,v 1.13 2007/11/22 21:11:31 dsl Exp $");
__RCSID("$NetBSD: mmap.c,v 1.14 2007/11/23 12:39:15 uebayasi Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -48,7 +48,7 @@ __RCSID("$NetBSD: mmap.c,v 1.13 2007/11/22 21:11:31 dsl Exp $");
__weak_alias(mmap,_mmap)
#endif
void *__mmap(void *addr, size_t len, int prot, int flags, int fd, int, off_t offset);
void *__mmap(void *, size_t, int, int, int, int, off_t);
/*
* This function provides 64-bit offset padding that

View File

@ -1,4 +1,4 @@
/* $NetBSD: ntp_adjtime.c,v 1.10 2007/11/22 21:11:31 dsl Exp $ */
/* $NetBSD: ntp_adjtime.c,v 1.11 2007/11/23 12:39:15 uebayasi Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: ntp_adjtime.c,v 1.10 2007/11/22 21:11:31 dsl Exp $");
__RCSID("$NetBSD: ntp_adjtime.c,v 1.11 2007/11/23 12:39:15 uebayasi Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@ -57,7 +57,7 @@ __weak_alias(ntp_adjtime,_ntp_adjtime)
extern int __clockctl_fd;
int __ntp_adjtime(struct timex *tp);
int __ntp_adjtime(struct timex *);
int
ntp_adjtime(tp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: preadv.c,v 1.5 2007/11/22 21:11:32 dsl Exp $ */
/* $NetBSD: preadv.c,v 1.6 2007/11/23 12:39:15 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: preadv.c,v 1.5 2007/11/22 21:11:32 dsl Exp $");
__RCSID("$NetBSD: preadv.c,v 1.6 2007/11/23 12:39:15 uebayasi Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@ -39,7 +39,7 @@ __RCSID("$NetBSD: preadv.c,v 1.5 2007/11/22 21:11:32 dsl Exp $");
#include <sys/uio.h>
#include <unistd.h>
ssize_t __preadv(int fd, const struct iovec *iovp, int iovcnt, int, off_t offset);
ssize_t __preadv(int, const struct iovec *, int, int, off_t);
/*
* This function provides 64-bit offset padding that

View File

@ -1,4 +1,4 @@
/* $NetBSD: pwritev.c,v 1.5 2007/11/22 21:11:32 dsl Exp $ */
/* $NetBSD: pwritev.c,v 1.6 2007/11/23 12:39:16 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: pwritev.c,v 1.5 2007/11/22 21:11:32 dsl Exp $");
__RCSID("$NetBSD: pwritev.c,v 1.6 2007/11/23 12:39:16 uebayasi Exp $");
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@ -39,7 +39,7 @@ __RCSID("$NetBSD: pwritev.c,v 1.5 2007/11/22 21:11:32 dsl Exp $");
#include <sys/uio.h>
#include <unistd.h>
ssize_t __pwritev(int fd, const struct iovec *iovp, int iovcnt, int, off_t offset);
ssize_t __pwritev(int, const struct iovec *, int, int, off_t);
/*
* This function provides 64-bit offset padding that

View File

@ -1,4 +1,4 @@
/* $NetBSD: settimeofday.c,v 1.11 2007/11/22 21:11:32 dsl Exp $ */
/* $NetBSD: settimeofday.c,v 1.12 2007/11/23 12:39:16 uebayasi Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: settimeofday.c,v 1.11 2007/11/22 21:11:32 dsl Exp $");
__RCSID("$NetBSD: settimeofday.c,v 1.12 2007/11/23 12:39:16 uebayasi Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@ -57,7 +57,7 @@ __weak_alias(settimeofday,_settimeofday)
int __clockctl_fd = -1;
int __settimeofday(const struct timeval *tv, const void *tzp);
int __settimeofday(const struct timeval *, const void *);
int
settimeofday(tv, tzp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: truncate.c,v 1.11 2007/11/22 21:11:32 dsl Exp $ */
/* $NetBSD: truncate.c,v 1.12 2007/11/23 12:39:16 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)truncate.c 8.1 (Berkeley) 6/17/93";
#else
__RCSID("$NetBSD: truncate.c,v 1.11 2007/11/22 21:11:32 dsl Exp $");
__RCSID("$NetBSD: truncate.c,v 1.12 2007/11/23 12:39:16 uebayasi Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -42,7 +42,7 @@ __RCSID("$NetBSD: truncate.c,v 1.11 2007/11/22 21:11:32 dsl Exp $");
#include <sys/syscall.h>
#include <unistd.h>
int __truncate(const char *path, int, off_t length);
int __truncate(const char *, int, off_t);
/*
* This function provides 64-bit offset padding that