summaryrefslogtreecommitdiffstats
path: root/sys/posix4
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 22:20:14 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 22:20:14 +0000
commit1446d094292532062a83b8dc4587f9b62a6120df (patch)
treecf7078f9ddebb58cb7cd55dcd736f1f25c75ac7f /sys/posix4
parentc147e70b997febc0da8565eecf0dabede1ba5f88 (diff)
downloadFreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.zip
FreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.tar.gz
Remove __P.
Diffstat (limited to 'sys/posix4')
-rw-r--r--sys/posix4/aio.h16
-rw-r--r--sys/posix4/mqueue.h16
-rw-r--r--sys/posix4/posix4.h4
-rw-r--r--sys/posix4/sched.h16
-rw-r--r--sys/posix4/semaphore.h18
5 files changed, 35 insertions, 35 deletions
diff --git a/sys/posix4/aio.h b/sys/posix4/aio.h
index 32705f9..093eb0b 100644
--- a/sys/posix4/aio.h
+++ b/sys/posix4/aio.h
@@ -91,18 +91,18 @@ struct aiocb {
#include <sys/cdefs.h>
__BEGIN_DECLS
-int aio_read __P((struct aiocb *));
-int aio_write __P((struct aiocb *));
+int aio_read(struct aiocb *);
+int aio_write(struct aiocb *);
-int lio_listio __P((int, aio_listio_ctl[], int, struct sigevent *));
+int lio_listio(int, aio_listio_ctl[], int, struct sigevent *);
-int aio_error __P((const struct aiocb *));
-ssize_t aio_return __P((struct aiocb *));
-int aio_cancel __P((int, struct aiocb *));
+int aio_error(const struct aiocb *);
+ssize_t aio_return(struct aiocb *);
+int aio_cancel(int, struct aiocb *);
-int aio_suspend __P((caio_listio_ctl[], int, const struct timespec *));
+int aio_suspend(caio_listio_ctl[], int, const struct timespec *);
-int aio_fsync __P((int, struct aiocb *));
+int aio_fsync(int, struct aiocb *);
__END_DECLS
#endif /* _KERNEL */
diff --git a/sys/posix4/mqueue.h b/sys/posix4/mqueue.h
index c2fc38e..803c5b4 100644
--- a/sys/posix4/mqueue.h
+++ b/sys/posix4/mqueue.h
@@ -62,14 +62,14 @@ struct mq_attr {
#include <sys/cdefs.h>
__BEGIN_DECLS
-mqd_t mq_open __P((const char *, int oflag, ...));
-int mq_close __P((mqd_t));
-int mq_unlink __P((const char *));
-int mq_send __P((mqd_t, const char *, size_t, unsigned int));
-ssize_t mq_receive __P((mqd_t, char *, size_t, unsigned int *));
-int mq_notify __P((mqd_t, const struct sigevent *));
-int mq_setattr __P((mqd_t, const struct mq_attr *, struct mq_attr *));
-int mq_getattr __P((mqd_t, struct mq_attr *));
+mqd_t mq_open(const char *, int oflag, ...);
+int mq_close(mqd_t);
+int mq_unlink(const char *);
+int mq_send(mqd_t, const char *, size_t, unsigned int);
+ssize_t mq_receive(mqd_t, char *, size_t, unsigned int *);
+int mq_notify(mqd_t, const struct sigevent *);
+int mq_setattr(mqd_t, const struct mq_attr *, struct mq_attr *);
+int mq_getattr(mqd_t, struct mq_attr *);
__END_DECLS
#endif
diff --git a/sys/posix4/posix4.h b/sys/posix4/posix4.h
index 626d6d8..9b3c66e 100644
--- a/sys/posix4/posix4.h
+++ b/sys/posix4/posix4.h
@@ -61,9 +61,9 @@ MALLOC_DECLARE(M_P31B);
#define p31b_malloc(SIZE) malloc((SIZE), M_P31B, M_WAITOK)
#define p31b_free(P) free((P), M_P31B)
-int p31b_proc __P((struct proc *, pid_t, struct proc **));
+int p31b_proc(struct proc *, pid_t, struct proc **);
-void p31b_setcfg __P((int, int));
+void p31b_setcfg(int, int);
#ifdef _KPOSIX_PRIORITY_SCHEDULING
diff --git a/sys/posix4/sched.h b/sys/posix4/sched.h
index bdfc49b..6ac2c8c 100644
--- a/sys/posix4/sched.h
+++ b/sys/posix4/sched.h
@@ -59,16 +59,16 @@ struct sched_param
#include <sys/cdefs.h>
__BEGIN_DECLS
-int sched_setparam __P((pid_t, const struct sched_param *));
-int sched_getparam __P((pid_t, struct sched_param *));
+int sched_setparam(pid_t, const struct sched_param *);
+int sched_getparam(pid_t, struct sched_param *);
-int sched_setscheduler __P((pid_t, int, const struct sched_param *));
-int sched_getscheduler __P((pid_t));
+int sched_setscheduler(pid_t, int, const struct sched_param *);
+int sched_getscheduler(pid_t);
-int sched_yield __P((void));
-int sched_get_priority_max __P((int));
-int sched_get_priority_min __P((int));
-int sched_rr_get_interval __P((pid_t, struct timespec *));
+int sched_yield(void);
+int sched_get_priority_max(int);
+int sched_get_priority_min(int);
+int sched_rr_get_interval(pid_t, struct timespec *);
__END_DECLS
#endif
diff --git a/sys/posix4/semaphore.h b/sys/posix4/semaphore.h
index 9741b06..b404a03 100644
--- a/sys/posix4/semaphore.h
+++ b/sys/posix4/semaphore.h
@@ -56,15 +56,15 @@ typedef struct sem *sem_t;
#include <sys/cdefs.h>
__BEGIN_DECLS
-int sem_init __P((sem_t *, int, unsigned int));
-int sem_destroy __P((sem_t *));
-sem_t *sem_open __P((const char *, int, ...));
-int sem_close __P((sem_t *));
-int sem_unlink __P((const char *));
-int sem_wait __P((sem_t *));
-int sem_trywait __P((sem_t *));
-int sem_post __P((sem_t *));
-int sem_getvalue __P((sem_t *, int *));
+int sem_init(sem_t *, int, unsigned int);
+int sem_destroy(sem_t *);
+sem_t *sem_open(const char *, int, ...);
+int sem_close(sem_t *);
+int sem_unlink(const char *);
+int sem_wait(sem_t *);
+int sem_trywait(sem_t *);
+int sem_post(sem_t *);
+int sem_getvalue(sem_t *, int *);
__END_DECLS
#endif
OpenPOWER on IntegriCloud