summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-05-31 14:04:09 +0000
committerart <art@openbsd.org>2001-05-31 14:04:09 +0000
commitd6cb848c462125e4975426038712796ff6cf2894 (patch)
tree9e100105b681f5353a59732539b9a828f9801a1b
parentInstall link.h and dlfcn.h on alpha. (diff)
downloadwireguard-openbsd-d6cb848c462125e4975426038712796ff6cf2894.tar.xz
wireguard-openbsd-d6cb848c462125e4975426038712796ff6cf2894.zip
correct prototype for dlerror.
-rw-r--r--include/dlfcn.h4
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'. */