summaryrefslogtreecommitdiff
path: root/dln.h
diff options
context:
space:
mode:
Diffstat (limited to 'dln.h')
-rw-r--r--dln.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/dln.h b/dln.h
index 7af1f63..b9b7a67 100644
--- a/dln.h
+++ b/dln.h
@@ -14,17 +14,18 @@
#ifndef _
#ifndef __STDC__
# define _(args) ()
+# define const
#else
# define _(args) args
#endif
#endif
-char *dln_find_exe _((char*,char*));
-char *dln_find_file _((char*,char*));
+char *dln_find_exe _((const char*,const char*));
+char *dln_find_file _((const char*,const char*));
#ifdef USE_DLN_A_OUT
extern char *dln_argv0;
#endif
-void dln_load _((char*));
+void dln_load _((const char*));
#endif