summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2010-06-05 16:29:40 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2010-06-05 16:29:40 +0000
commita9c6976268546e0b9440073c1ccb664f1465bbfc (patch)
tree1fedc48ea6ac7c99750522412e73cb0f9f2a3eac /compat.h
parentd9c99b83c7de1f193aa353e7f49e8889dc227083 (diff)
Should be const char *.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat.h b/compat.h
index 20e13137..f52d0a1a 100644
--- a/compat.h
+++ b/compat.h
@@ -1,4 +1,4 @@
-/* $Id: compat.h,v 1.23 2010-05-19 21:49:57 nicm Exp $ */
+/* $Id: compat.h,v 1.24 2010-06-05 16:29:40 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -203,8 +203,8 @@ char *fgetln(FILE *, size_t *);
#ifndef HAVE_SETENV
/* setenv.c */
-int setenv(char *, char *, int);
-int unsetenv(char *);
+int setenv(const char *, const char *, int);
+int unsetenv(const char *);
#endif
#ifndef HAVE_GETOPT