summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/prctl.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-25 16:35:30 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-02-25 16:35:30 +0000
commit8a8d4b95c50316e31c15b68ed349233d5db28292 (patch)
tree585c088bb8df4739f5db46e63c854477083b9f84 /libc/sysdeps/linux/common/prctl.c
parent6622bc38bc3ed737fbd41e1c620a2dc27f1376f7 (diff)
downloaduClibc-alpine-8a8d4b95c50316e31c15b68ed349233d5db28292.tar.bz2
uClibc-alpine-8a8d4b95c50316e31c15b68ed349233d5db28292.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/prctl.c')
-rw-r--r--libc/sysdeps/linux/common/prctl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/prctl.c b/libc/sysdeps/linux/common/prctl.c
index e908c44cd..52d1e76e0 100644
--- a/libc/sysdeps/linux/common/prctl.c
+++ b/libc/sysdeps/linux/common/prctl.c
@@ -2,12 +2,13 @@
/*
* prctl() for uClibc
*
- * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
- * GNU Library General Public License (LGPL) version 2 or later.
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include "syscalls.h"
#include <stdarg.h>
-//#include <sys/prctl.h>
-_syscall5(int, prctl, int, a, int, b, int, c, int, d, int, e);
+/* psm: including sys/prctl.h would depend on kernel headers */
+extern int prctl (int, long, long, long, long);
+_syscall5(int, prctl, int, option, long, arg2, long, arg3, long, arg4, long, arg5);