Browse Source

move __syscall prototype into unistd.h (like everybody else) and avoid private protos for it everywhere; millert@ ok

OPENBSD_3_2
mickey 22 years ago
parent
commit
39c1771257
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/include/unistd.h

+ 4
- 1
src/include/unistd.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: unistd.h,v 1.40 2002/08/30 08:24:55 espie Exp $ */
/* $OpenBSD: unistd.h,v 1.41 2002/09/17 12:57:50 mickey Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*-
@ -206,6 +206,9 @@ int swapctl(int cmd, const void *arg, int misc);
int symlink(const char *, const char *);
void sync(void);
int syscall(int, ...);
#if !defined(_XOPEN_SOURCE)
quad_t __syscall(quad_t, ...);
#endif
int truncate(const char *, off_t);
int ttyslot(void);
unsigned int ualarm(unsigned int, unsigned int);


Loading…
Cancel
Save