summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/swap.h')
-rw-r--r--usr/src/uts/common/sys/swap.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/uts/common/sys/swap.h b/usr/src/uts/common/sys/swap.h
index bfe5fe3349..e31c642c3a 100644
--- a/usr/src/uts/common/sys/swap.h
+++ b/usr/src/uts/common/sys/swap.h
@@ -19,6 +19,7 @@
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
* Copyright (c) 1987, 2010, Oracle and/or its affiliates. All rights reserved.
*/
@@ -112,11 +113,7 @@ extern int swapctl(int, void *, int *);
extern int swapctl32(int, void *, int *);
#endif /* _LP64 && _SYSCALL32 */
#else /* !_KERNEL */
-#if defined(__STDC__)
extern int swapctl(int, void *);
-#else
-extern int swapctl();
-#endif
#endif /* _KERNEL */