aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-01-30 22:19:41 +0000
committerNick Mathewson <nickm@torproject.org>2007-01-30 22:19:41 +0000
commit76f896e7145ac85b354ad603794f569b20ca85c8 (patch)
treea3da57ca81cfda646587f3e62c18e63913d7d585 /src/common/compat.h
parent1894e7ea01154d91c3842926a71ae32843264a24 (diff)
downloadtor-76f896e7145ac85b354ad603794f569b20ca85c8.tar.gz
tor-76f896e7145ac85b354ad603794f569b20ca85c8.zip
r11607@catbus: nickm | 2007-01-30 17:19:27 -0500
Audit non-const char arguments; make a lot more of them const. svn:r9466
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 536fd052c6..3589091414 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -282,7 +282,7 @@ void set_uint16(char *cp, uint16_t v) ATTR_NONNULL((1));
void set_uint32(char *cp, uint32_t v) ATTR_NONNULL((1));
int set_max_file_descriptors(unsigned long limit, unsigned long cap);
-int switch_id(char *user, char *group);
+int switch_id(const char *user, const char *group);
#ifdef HAVE_PWD_H
char *get_user_homedir(const char *username);
#endif