1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* 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.
This commit is contained in:
Werner Koch 2005-05-31 20:03:04 +00:00
parent c8efd2bf77
commit 6e522257a9
11 changed files with 60 additions and 9 deletions

View file

@ -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)