summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-09-14 22:18:56 +0000
committerderaadt <deraadt@openbsd.org>2004-09-14 22:18:56 +0000
commit833a253437bc323e8ea6b423bfb75d42eafdcd30 (patch)
tree2bc85940b56b8f8eef98367b475e6897b7806f61 /lib/libc
parentneed rfork() stub for lint (diff)
downloadwireguard-openbsd-833a253437bc323e8ea6b423bfb75d42eafdcd30.tar.xz
wireguard-openbsd-833a253437bc323e8ea6b423bfb75d42eafdcd30.zip
ansi
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/Lint_Ovfork.c4
-rw-r--r--lib/libc/sys/Lint_brk.c5
-rw-r--r--lib/libc/sys/Lint_exect.c7
-rw-r--r--lib/libc/sys/Lint_fork.c4
-rw-r--r--lib/libc/sys/Lint_sbrk.c5
-rw-r--r--lib/libc/sys/Lint_setlogin.c5
-rw-r--r--lib/libc/sys/Lint_sigpending.c5
-rw-r--r--lib/libc/sys/Lint_sigprocmask.c7
-rw-r--r--lib/libc/sys/Lint_sigreturn.c5
-rw-r--r--lib/libc/sys/Lint_sigsuspend.c5
10 files changed, 20 insertions, 32 deletions
diff --git a/lib/libc/sys/Lint_Ovfork.c b/lib/libc/sys/Lint_Ovfork.c
index 9d5c25cf684..0d94d3a64a9 100644
--- a/lib/libc/sys/Lint_Ovfork.c
+++ b/lib/libc/sys/Lint_Ovfork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_Ovfork.c,v 1.1 1998/02/08 22:45:08 tholo Exp $ */
+/* $OpenBSD: Lint_Ovfork.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_Ovfork.c,v 1.1 1997/11/06 00:52:49 cgd Exp $ */
/*
@@ -10,7 +10,7 @@
/*ARGSUSED*/
pid_t
-vfork()
+vfork(void)
{
return (0);
}
diff --git a/lib/libc/sys/Lint_brk.c b/lib/libc/sys/Lint_brk.c
index 665d423abb9..a652d8ebc3a 100644
--- a/lib/libc/sys/Lint_brk.c
+++ b/lib/libc/sys/Lint_brk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_brk.c,v 1.1 1998/02/08 22:45:09 tholo Exp $ */
+/* $OpenBSD: Lint_brk.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_brk.c,v 1.1 1997/11/06 00:52:52 cgd Exp $ */
/*
@@ -10,8 +10,7 @@
/*ARGSUSED*/
char *
-brk(addr)
- const char *addr;
+brk(const char *addr)
{
return (0);
}
diff --git a/lib/libc/sys/Lint_exect.c b/lib/libc/sys/Lint_exect.c
index 4b5d807586e..65d49c4ec96 100644
--- a/lib/libc/sys/Lint_exect.c
+++ b/lib/libc/sys/Lint_exect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_exect.c,v 1.1 1998/02/08 22:45:09 tholo Exp $ */
+/* $OpenBSD: Lint_exect.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_exect.c,v 1.1 1997/11/06 00:52:54 cgd Exp $ */
/*
@@ -10,10 +10,7 @@
/*ARGSUSED*/
int
-exect(path, argv, envp)
- const char *path;
- char * const * argv;
- char * const * envp;
+exect(const char *path, char * const *argv, char * const *envp)
{
return (0);
}
diff --git a/lib/libc/sys/Lint_fork.c b/lib/libc/sys/Lint_fork.c
index 07f960ca7d0..716f3d3824b 100644
--- a/lib/libc/sys/Lint_fork.c
+++ b/lib/libc/sys/Lint_fork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_fork.c,v 1.1 1998/02/08 22:45:10 tholo Exp $ */
+/* $OpenBSD: Lint_fork.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_fork.c,v 1.1 1997/11/06 00:52:57 cgd Exp $ */
/*
@@ -10,7 +10,7 @@
/*ARGSUSED*/
pid_t
-fork()
+fork(void)
{
return (0);
}
diff --git a/lib/libc/sys/Lint_sbrk.c b/lib/libc/sys/Lint_sbrk.c
index 13624c124be..597a81eb752 100644
--- a/lib/libc/sys/Lint_sbrk.c
+++ b/lib/libc/sys/Lint_sbrk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_sbrk.c,v 1.1 1998/02/08 22:45:11 tholo Exp $ */
+/* $OpenBSD: Lint_sbrk.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_sbrk.c,v 1.1 1997/11/06 00:53:04 cgd Exp $ */
/*
@@ -10,8 +10,7 @@
/*ARGSUSED*/
char *
-sbrk(incr)
- int incr;
+sbrk(int incr)
{
return (0);
}
diff --git a/lib/libc/sys/Lint_setlogin.c b/lib/libc/sys/Lint_setlogin.c
index 8c0e114432b..c5b9a7f154b 100644
--- a/lib/libc/sys/Lint_setlogin.c
+++ b/lib/libc/sys/Lint_setlogin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_setlogin.c,v 1.1 1998/02/08 22:45:12 tholo Exp $ */
+/* $OpenBSD: Lint_setlogin.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_setlogin.c,v 1.1 1997/11/06 00:53:08 cgd Exp $ */
/*
@@ -10,8 +10,7 @@
/*ARGSUSED*/
int
-setlogin(name)
- const char *name;
+setlogin(const char *name)
{
return (0);
}
diff --git a/lib/libc/sys/Lint_sigpending.c b/lib/libc/sys/Lint_sigpending.c
index cede2075161..33358102299 100644
--- a/lib/libc/sys/Lint_sigpending.c
+++ b/lib/libc/sys/Lint_sigpending.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_sigpending.c,v 1.1 1998/02/08 22:45:12 tholo Exp $ */
+/* $OpenBSD: Lint_sigpending.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_sigpending.c,v 1.1 1997/11/06 00:53:11 cgd Exp $ */
/*
@@ -10,8 +10,7 @@
/*ARGSUSED*/
int
-sigpending(set)
- sigset_t *set;
+sigpending(sigset_t *set)
{
return (0);
}
diff --git a/lib/libc/sys/Lint_sigprocmask.c b/lib/libc/sys/Lint_sigprocmask.c
index 3a420cb3cbe..ea5ff0408c2 100644
--- a/lib/libc/sys/Lint_sigprocmask.c
+++ b/lib/libc/sys/Lint_sigprocmask.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_sigprocmask.c,v 1.1 1998/02/08 22:45:13 tholo Exp $ */
+/* $OpenBSD: Lint_sigprocmask.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_sigprocmask.c,v 1.1 1997/11/06 00:53:15 cgd Exp $ */
/*
@@ -10,10 +10,7 @@
/*ARGSUSED*/
int
-sigprocmask(how, set, oset)
- int how;
- const sigset_t *set;
- sigset_t *oset;
+sigprocmask(int how, const sigset_t *set, sigset_t *oset)
{
return (0);
}
diff --git a/lib/libc/sys/Lint_sigreturn.c b/lib/libc/sys/Lint_sigreturn.c
index 61e9cdfc5d5..f50a2e5c2e4 100644
--- a/lib/libc/sys/Lint_sigreturn.c
+++ b/lib/libc/sys/Lint_sigreturn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_sigreturn.c,v 1.1 1998/02/08 22:45:13 tholo Exp $ */
+/* $OpenBSD: Lint_sigreturn.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_sigreturn.c,v 1.1 1997/11/06 00:53:18 cgd Exp $ */
/*
@@ -10,8 +10,7 @@
/*ARGSUSED*/
int
-sigreturn(scp)
- struct sigcontext *scp;
+sigreturn(struct sigcontext *scp)
{
return (0);
}
diff --git a/lib/libc/sys/Lint_sigsuspend.c b/lib/libc/sys/Lint_sigsuspend.c
index 8f6f819f4f1..0a573a282fd 100644
--- a/lib/libc/sys/Lint_sigsuspend.c
+++ b/lib/libc/sys/Lint_sigsuspend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: Lint_sigsuspend.c,v 1.1 1998/02/08 22:45:14 tholo Exp $ */
+/* $OpenBSD: Lint_sigsuspend.c,v 1.2 2004/09/14 22:18:56 deraadt Exp $ */
/* $NetBSD: Lint_sigsuspend.c,v 1.1 1997/11/06 00:53:20 cgd Exp $ */
/*
@@ -10,8 +10,7 @@
/*ARGSUSED*/
int
-sigsuspend(sigmask)
- const sigset_t *sigmask;
+sigsuspend(const sigset_t *sigmask)
{
return (0);
}