summaryrefslogtreecommitdiffstats
path: root/common/dynload.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2005-05-31 22:03:04 +0200
committerWerner Koch <wk@gnupg.org>2005-05-31 22:03:04 +0200
commit6e522257a9beb9e7b12888533c9274f1e198ff0d (patch)
tree7c70e9dc88e5898e121f5f76146b79c62ac3adf4 /common/dynload.h
parent2005-05-28 Moritz Schulte <moritz@g10code.com> (diff)
downloadgnupg2-6e522257a9beb9e7b12888533c9274f1e198ff0d.tar.xz
gnupg2-6e522257a9beb9e7b12888533c9274f1e198ff0d.zip
* agent.h (out_of_core): s/__inline__/inine. Noted by Ray Link.
* dynload.h: s/__inline__/inline/. * tlv.c [GNUPG_MAJOR_VERSION==1]: Define constants instead of including a gnupg 1.4 header. * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines. Noted by Ray Link.
Diffstat (limited to 'common/dynload.h')
-rw-r--r--common/dynload.h8
1 files changed, 4 insertions, 4 deletions
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)