summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2005-01-25 23:01:42 +0000
committersobomax <sobomax@FreeBSD.org>2005-01-25 23:01:42 +0000
commita22595bc5902987545ed8433ebbf6a424a25e99d (patch)
treeb8725e868073e5dd0e47fb2fc9f0a744573a74cb /sys
parentdc2c21960c34884ffa3ca425563b17e5b4af250b (diff)
downloadFreeBSD-src-a22595bc5902987545ed8433ebbf6a424a25e99d.zip
FreeBSD-src-a22595bc5902987545ed8433ebbf6a424a25e99d.tar.gz
More kern_{get,set}itiver() where they belong.
Submitted by: dwmalone MFC after: 2 weeks
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/syscallsubr.h4
-rw-r--r--sys/sys/systm.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h
index 87d6b01..4b9447d 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -38,6 +38,7 @@ struct msghdr;
struct rlimit;
struct rusage;
struct sockaddr;
+struct itimerval;
int kern___getcwd(struct thread *td, u_char *buf, enum uio_seg bufseg,
u_int buflen);
@@ -55,6 +56,7 @@ int kern_execve(struct thread *td, char *fname, char **argv, char **envv,
int kern_fcntl(struct thread *td, int fd, int cmd, intptr_t arg);
int kern_futimes(struct thread *td, int fd, struct timeval *tptr,
enum uio_seg tptrseg);
+int kern_getitimer(struct thread *, u_int, struct itimerval *);
int kern_getrusage(struct thread *td, int who, struct rusage *rup);
int kern_getsockopt(struct thread *td, int s, int level, int name,
void *optval, enum uio_seg valseg, socklen_t *valsize);
@@ -85,6 +87,8 @@ int kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou,
fd_set *fd_ex, struct timeval *tvp);
int kern_sendit(struct thread *td, int s, struct msghdr *mp, int flags,
struct mbuf *control);
+int kern_setitimer(struct thread *, u_int, struct itimerval *,
+ struct itimerval *);
int kern_setrlimit(struct thread *, u_int, struct rlimit *);
int kern_setsockopt(struct thread *td, int s, int level, int name,
void *optval, enum uio_seg valseg, socklen_t valsize);
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index 4b7dfd9..36a8416 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -115,7 +115,6 @@ struct tty;
struct ucred;
struct uio;
struct _jmp_buf;
-struct itimerval;
int setjmp(struct _jmp_buf *);
void longjmp(struct _jmp_buf *, int) __dead2;
@@ -200,8 +199,6 @@ int suword32(void *base, int32_t word);
int suword64(void *base, int64_t word);
intptr_t casuptr(intptr_t *p, intptr_t old, intptr_t new);
-int kern_getitimer(struct thread *, u_int, struct itimerval *);
-int kern_setitimer(struct thread *, u_int, struct itimerval *, struct itimerval *);
void realitexpire(void *);
void hardclock(struct clockframe *frame);
OpenPOWER on IntegriCloud