From owner-freebsd-hackers Thu Nov 27 01:50:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA13616 for hackers-outgoing; Thu, 27 Nov 1997 01:50:34 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from main.gbdata.com (digital-02-140.hou.neoworld.net [206.109.29.140]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA13602 for ; Thu, 27 Nov 1997 01:50:27 -0800 (PST) (envelope-from gclarkii@main.gbdata.com) Received: (from gclarkii@localhost) by main.gbdata.com (8.8.7/8.8.5) id DAA05190 for freebsd-hackers@freebsd.org; Thu, 27 Nov 1997 03:50:21 -0600 (CST) From: Gary Clark II Message-Id: <199711270950.DAA05190@main.gbdata.com> Subject: conflict link.h dlfcn.h To: freebsd-hackers@freebsd.org Date: Thu, 27 Nov 1997 03:50:21 -0600 (CST) Reply-To: gclarkii@brewich.com X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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