From: David van Moolenbroek Date: Sat, 17 Mar 2012 14:31:10 +0000 (+0100) Subject: Clean up a stale a.out-related declaration X-Git-Tag: v3.2.1~655 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=f140910d3c467575a47e1970ef52d7d328c22cd8;p=minix.git Clean up a stale a.out-related declaration --- diff --git a/include/minix/com.h b/include/minix/com.h index c7f03fb67..f959d2c64 100644 --- a/include/minix/com.h +++ b/include/minix/com.h @@ -461,9 +461,6 @@ # define GET_WHOAMI 19 /* get own name, endpoint, and privileges */ # define GET_RANDOMNESS_BIN 20 /* get one randomness bin */ # define GET_IDLETSC 21 /* get cumulative idle time stamp counter */ -#if !defined(__ELF__) -# define GET_AOUTHEADER 22 /* get a.out headers from the boot image */ -#endif # define GET_CPUINFO 23 /* get information about cpus */ # define GET_REGS 24 /* get general process registers */ #define I_ENDPT m7_i4 /* calling process (may only be SELF) */ diff --git a/include/minix/syslib.h b/include/minix/syslib.h index 3919d0947..b085a2006 100644 --- a/include/minix/syslib.h +++ b/include/minix/syslib.h @@ -196,9 +196,6 @@ _PROTOTYPE(int sys_umap_remote, (endpoint_t proc_ep, endpoint_t grantee, #define sys_getschedinfo(v1,v2) sys_getinfo(GET_SCHEDINFO, v1,0, v2,0) #define sys_getpriv(dst, nr) sys_getinfo(GET_PRIV, dst, 0,0, nr) #define sys_getidletsc(dst) sys_getinfo(GET_IDLETSC, dst, 0,0,0) -#if !defined(__ELF__) -#define sys_getaoutheader(dst,nr) sys_getinfo(GET_AOUTHEADER, dst, 0,0,nr) -#endif #define sys_getregs(dst,nr) sys_getinfo(GET_REGS, dst, 0,0, nr) _PROTOTYPE(int sys_getinfo, (int request, void *val_ptr, int val_len, void *val_ptr2, int val_len2) );