aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2010-03-24 15:59:51 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2010-03-24 15:59:51 +0000
commit071ab531db55c850dd0b8688c1cb9f9e0b657757 (patch)
tree7cdd8a4203b4842d0791a27585013710ce6195fd /include
parentc2bce7cc39d27cf8d1d7bc23074f8392d1150405 (diff)
downloadsrc-071ab531db55c850dd0b8688c1cb9f9e0b657757.tar.gz
src-071ab531db55c850dd0b8688c1cb9f9e0b657757.zip
- Remove const'ness from dlerror(3) prototype, for consistency with POSIX.
Approved by: cognet MFC after: 1 week
Notes
Notes: svn path=/head/; revision=205606
Diffstat (limited to 'include')
-rw-r--r--include/dlfcn.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index de654f76a31b..794fde109b39 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -113,8 +113,7 @@ typedef struct dl_serinfo {
__BEGIN_DECLS
/* XSI functions first. */
int dlclose(void *);
-const char *
- dlerror(void);
+char *dlerror(void);
void *dlopen(const char *, int);
void *dlsym(void * __restrict, const char * __restrict);