diff options
author | gahr <gahr@FreeBSD.org> | 2010-03-24 15:59:51 +0000 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2010-03-24 15:59:51 +0000 |
commit | d3131ffa6e0b1603d1a09ff0d1d8b9ea5fde15a5 (patch) | |
tree | 7cdd8a4203b4842d0791a27585013710ce6195fd /include/dlfcn.h | |
parent | 5f4a0e75c2e87a86f1198cb1e64bf36e0bc4c320 (diff) | |
download | FreeBSD-src-d3131ffa6e0b1603d1a09ff0d1d8b9ea5fde15a5.zip FreeBSD-src-d3131ffa6e0b1603d1a09ff0d1d8b9ea5fde15a5.tar.gz |
- Remove const'ness from dlerror(3) prototype, for consistency with POSIX.
Approved by: cognet
MFC after: 1 week
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r-- | include/dlfcn.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h index de654f7..794fde1 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); |