From 592615ea7df69c2728362bd4238730d050c07312 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Thu, 24 Oct 1996 19:28:16 +0000 Subject: Mon Oct 21 22:00:44 1996 Thomas Bushnell, n/BSG * argp.h: Add extern inline protection. * idvec.h: Likewise. * maptime.h: Likewise. * argp.c, idvec-funcs.c, maptime-funcs.c: New files. * Makefile (SRCS): Add argp.c, idvec-funcs.c, and maptime-funcs.c. --- libshouldbeinlibc/maptime.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libshouldbeinlibc/maptime.h') diff --git a/libshouldbeinlibc/maptime.h b/libshouldbeinlibc/maptime.h index 244cbcf1..948d4de1 100644 --- a/libshouldbeinlibc/maptime.h +++ b/libshouldbeinlibc/maptime.h @@ -21,6 +21,10 @@ #ifndef __MAPTIME_H__ #define __MAPTIME_H__ +#ifndef MAPTIME_EI +#define MAPTIME_EI extern inline +#endif + #include /* Return the mach mapped time page in MTIME. If USE_MACH_DEV is false, then @@ -32,7 +36,7 @@ error_t maptime_map (int use_mach_dev, char *dev_name, volatile struct mapped_time_value **mtime); /* Read the current time from MTIME into TV. This should be very fast. */ -static inline void +MAPTIME_EI void maptime_read (volatile struct mapped_time_value *mtime, struct timeval *tv) { do -- cgit v1.2.3