Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 1997 03:50:21 -0600 (CST)
From:      Gary Clark II <gclarkii@main.gbdata.com>
To:        freebsd-hackers@freebsd.org
Subject:   conflict link.h dlfcn.h
Message-ID:  <199711270950.DAA05190@main.gbdata.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm in the process of trying to get postgresql to run and have ran into
a conflict in our header files.

Here is what the prototypes look like in both link.h and postgresql:
void		*dlopen(const *char, int);
int		dlclose(void *);
void		*dlsym(void *, const char *) 
const char 	*dlerror(void)

Here is what they look like in dlfcn.h
void	*dlopen( *char, int);
int	dlclose(void *);
void	*dlsym(void *,  char *)
char	*dlerror(void)

Note the lack of const in use in dlfcn.h.  This causes postgresql to
toss its cookies here and require a hack.

Which one is correct?

Gary


-- 
Gary Clark II   (N5VMF) |    I speak only for myself and "maybe" my company 
gclarkii@Brewich.COM    |          Fallen member of the FreeBSD Doc Team 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711270950.DAA05190>