summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sparc/syscall.h
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-11-23 19:14:26 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-11-23 19:14:26 +0000
commita44fa44cd3754dc20bb42b0cbb41074a6b80a363 (patch)
treec1ddb12c4075bc83b7135e944e6900c4ecec560e /libexec/ld.so/sparc/syscall.h
parent12cf65b51948f6cc478b917b1180e442ef309ffe (diff)
Implement [u]mul/[u]div/[u]rem with faster version if available
on machine. Improves speed for dynamic userland processes when active. Idea from Theo. ok deraadt@
Diffstat (limited to 'libexec/ld.so/sparc/syscall.h')
-rw-r--r--libexec/ld.so/sparc/syscall.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/sparc/syscall.h b/libexec/ld.so/sparc/syscall.h
index 3d450ad5e99..c11613b6120 100644
--- a/libexec/ld.so/sparc/syscall.h
+++ b/libexec/ld.so/sparc/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.1 2002/07/27 13:19:26 art Exp $ */
+/* $OpenBSD: syscall.h,v 1.2 2002/11/23 19:14:25 drahn Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -58,6 +58,8 @@ int _dl_fstat(int, struct stat *);
int _dl_fcntl(int, int, ...);
int _dl_getdirentries(int, char*, int, long *);
+int _dl_sysctl(int *, u_int, void *, size_t *, void *, size_t);
+
static inline off_t
_dl_lseek(int fildes, off_t offset, int whence)
{