diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-04-24 02:10:53 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-04-24 02:10:53 -0700 |
commit | 1e32f79670a6dc0baae2c2622d2b562f41266ea5 (patch) | |
tree | 9993c44f2b49e3c0b400776ab7838bef94893c86 | |
parent | 732f3366c40c4bea258b11b96c4763f5948a4844 (diff) |
Constify path argument to trans_mkdir()
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r-- | Xtransint.h | 2 | ||||
-rw-r--r-- | Xtransutil.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Xtransint.h b/Xtransint.h index 8cc0b68..0bd4b46 100644 --- a/Xtransint.h +++ b/Xtransint.h @@ -352,7 +352,7 @@ static int is_numeric ( #ifdef TRANS_SERVER static int trans_mkdir ( - char *, /* path */ + const char *, /* path */ int /* mode */ ); #endif diff --git a/Xtransutil.c b/Xtransutil.c index b4e03fe..bd9ff52 100644 --- a/Xtransutil.c +++ b/Xtransutil.c @@ -479,7 +479,7 @@ is_numeric (const char *str) * bit cannot be set and fail. */ static int -trans_mkdir(char *path, int mode) +trans_mkdir(const char *path, int mode) { struct stat buf; |