summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-14 12:08:22 +0000
committerguenther <guenther@openbsd.org>2015-09-14 12:08:22 +0000
commit16ac854bbf7bcdea047fcbe608a2563173d99268 (patch)
treef258effd4e7e066803c685399bafb1bcbd17f57f /lib/libc
parentadd missing function return types (diff)
downloadwireguard-openbsd-16ac854bbf7bcdea047fcbe608a2563173d99268.tar.xz
wireguard-openbsd-16ac854bbf7bcdea047fcbe608a2563173d99268.zip
KNF
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/semctl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/semctl.c b/lib/libc/sys/semctl.c
index ecc4156249f..02ed5588a20 100644
--- a/lib/libc/sys/semctl.c
+++ b/lib/libc/sys/semctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: semctl.c,v 1.8 2014/11/15 22:38:47 guenther Exp $ */
+/* $OpenBSD: semctl.c,v 1.9 2015/09/14 12:08:22 guenther Exp $ */
/*
* Copyright (c) 1994, 1995 Christopher G. Demetriou
* All rights reserved.
@@ -34,7 +34,8 @@
#include <stdarg.h>
#include <stdlib.h>
-int semctl(int semid, int semnum, int cmd, ...)
+int
+semctl(int semid, int semnum, int cmd, ...)
{
va_list ap;
union semun semun;