diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2010-03-24 15:59:51 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2010-03-24 15:59:51 +0000 |
commit | 071ab531db55c850dd0b8688c1cb9f9e0b657757 (patch) | |
tree | 7cdd8a4203b4842d0791a27585013710ce6195fd /include/dlfcn.h | |
parent | c2bce7cc39d27cf8d1d7bc23074f8392d1150405 (diff) |
- 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/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 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); |