diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/ChangeLog | 4 | ||||
-rw-r--r-- | common/dynload.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/common/ChangeLog b/common/ChangeLog index cf294fbd1..abb3c6427 100644 --- a/common/ChangeLog +++ b/common/ChangeLog @@ -1,3 +1,7 @@ +2005-05-31 Werner Koch <[email protected]> + + * dynload.h: s/__inline__/inline/. + 2005-05-13 Werner Koch <[email protected]> * signal.c (got_fatal_signal): Print the signal number if we can't diff --git a/common/dynload.h b/common/dynload.h index 3c4652091..2c074141f 100644 --- a/common/dynload.h +++ b/common/dynload.h @@ -27,14 +27,14 @@ #define RTLD_LAZY 0 -static __inline__ void * +static inline void * dlopen (const char * name, int flag) { void * hd = LoadLibrary (name); return hd; } -static __inline__ void * +static inline void * dlsym (void *hd, const char *sym) { if (hd && sym) @@ -48,7 +48,7 @@ dlsym (void *hd, const char *sym) } -static __inline__ const char * +static inline const char * dlerror (void) { static char buf[32]; @@ -57,7 +57,7 @@ dlerror (void) } -static __inline__ int +static inline int dlclose (void * hd) { if (hd) |