aboutsummaryrefslogtreecommitdiffstats
path: root/include/link.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>1996-10-07 20:49:03 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>1996-10-07 20:49:03 +0000
commit0e9cb8bed8a6e08ced8af6616ef54d6fb7ec5208 (patch)
treeffcd97d95232059a7cda9829e154a58090d5915e /include/link.h
parent2f85bf6e8e11f5cdf2402ee30e9ff07342422fa2 (diff)
downloadsrc-0e9cb8bed8a6e08ced8af6616ef54d6fb7ec5208.tar.gz
src-0e9cb8bed8a6e08ced8af6616ef54d6fb7ec5208.zip
dlfcn.h and link.h have conflicting declarations for dlopen/dlsym,
with dlfcn.h declaring them as: void *dlopen __P((const char *, int)); void *dlsym __P((void *, const char *)); while link.h declared them as extern void *dlopen __P((char *, int)); extern void *dlsym __P((void *, char *)); Fix link.h to match dlfcn.h
Notes
Notes: svn path=/head/; revision=18799
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/link.h b/include/link.h
index 7d35e028b06b..022563027ab8 100644
--- a/include/link.h
+++ b/include/link.h
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: link.h,v 1.6 1996/01/30 23:30:20 mpp Exp $
+ * $Id: link.h,v 1.7 1996/10/01 00:25:32 peter Exp $
*/
/*
@@ -184,9 +184,9 @@ struct ld_entry {
/*
* dl*() prototypes.
*/
-extern void *dlopen __P((char *, int));
+extern void *dlopen __P((const char *, int));
extern int dlclose __P((void *));
-extern void *dlsym __P((void *, char *));
+extern void *dlsym __P((void *, const char *));
extern char *dlerror __P((void));