summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-31 14:04:10 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-31 14:04:10 +0000
commit4c99c156b7554f2941704dc0bbac05b6a24868e4 (patch)
treef9481cd7c945d2b76b4ab4f07f6729e2e4028374 /include
parent71d54251e9961dd7d569103a3f82eb890305ebba (diff)
correct prototype for dlerror.
Diffstat (limited to 'include')
-rw-r--r--include/dlfcn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index eff13c9fba2..b96b018498d 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dlfcn.h,v 1.3 1999/12/09 18:10:23 espie Exp $ */
+/* $OpenBSD: dlfcn.h,v 1.4 2001/05/31 14:04:09 art Exp $ */
/* $NetBSD: dlfcn.h,v 1.2 1995/06/05 19:38:00 pk Exp $ */
/*
@@ -44,7 +44,7 @@ extern void *dlopen __P((const char *, int));
extern int dlclose __P((void *));
extern void *dlsym __P((void *, const char *));
extern int dlctl __P((void *, int, void *));
-extern char *dlerror __P((void));
+extern const char *dlerror __P((void));
__END_DECLS
/* Values for dlopen `mode'. */