From 670afe993e84c603ca76e5499221d8aaad9fbdc3 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sun, 24 Mar 2013 01:37:21 +0000 Subject: [PATCH] dlerror() should not return const char *, as noted by landry ok guenther --- src/include/dlfcn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/dlfcn.h b/src/include/dlfcn.h index c7758d04..76e3387a 100644 --- a/src/include/dlfcn.h +++ b/src/include/dlfcn.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dlfcn.h,v 1.12 2012/10/01 00:21:19 guenther Exp $ */ +/* $OpenBSD: dlfcn.h,v 1.13 2013/03/24 01:37:21 deraadt Exp $ */ /* $NetBSD: dlfcn.h,v 1.2 1995/06/05 19:38:00 pk Exp $ */ /* @@ -85,7 +85,7 @@ __BEGIN_DECLS void *dlopen(const char *, int); int dlclose(void *); void *dlsym(void *__restrict, const char *__restrict); -const char *dlerror(void); +char *dlerror(void); #if __BSD_VISIBLE int dladdr(const void *, Dl_info *);