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:
parent
c8efd2bf77
commit
6e522257a9
11 changed files with 60 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue