diff options
author | 2001-05-31 14:04:09 +0000 | |
---|---|---|
committer | 2001-05-31 14:04:09 +0000 | |
commit | d6cb848c462125e4975426038712796ff6cf2894 (patch) | |
tree | 9e100105b681f5353a59732539b9a828f9801a1b | |
parent | Install link.h and dlfcn.h on alpha. (diff) | |
download | wireguard-openbsd-d6cb848c462125e4975426038712796ff6cf2894.tar.xz wireguard-openbsd-d6cb848c462125e4975426038712796ff6cf2894.zip |
correct prototype for dlerror.
-rw-r--r-- | include/dlfcn.h | 4 |
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'. */ |