From b1941bc0b460459bcf7a51d44e73fa82417492d4 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Fri, 25 Apr 2003 20:32:08 +0000 Subject: backout mquery change, something broke when not combined with a different diff. --- libexec/ld.so/i386/archdep.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'libexec/ld.so/i386') diff --git a/libexec/ld.so/i386/archdep.h b/libexec/ld.so/i386/archdep.h index 8d2bc4c1b8c..c7d003e2c89 100644 --- a/libexec/ld.so/i386/archdep.h +++ b/libexec/ld.so/i386/archdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: archdep.h,v 1.5 2003/04/25 18:30:18 drahn Exp $ */ +/* $OpenBSD: archdep.h,v 1.6 2003/04/25 20:32:07 drahn Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -56,15 +56,12 @@ _dl_mmap(void *addr, unsigned int len, unsigned int prot, flags, fd, 0, offset)); } -static inline void * -_dl_mquery(void *addr, unsigned int len, unsigned int prot, - unsigned int flags, int fd, off_t offset) +static inline int +_dl_mquery(int flags, void **addr, size_t size, int fd, off_t off) { - return((void *)_dl__syscall((quad_t)SYS_mquery, addr, len, prot, - flags, fd, 0, offset)); + return(_dl__syscall((quad_t)SYS_mquery, flags, addr, size, fd, off)); } - static inline void RELOC_REL(Elf32_Rel *r, const Elf32_Sym *s, Elf32_Addr *p, unsigned long v) { -- cgit v1.2.3