diff options
author | Stef Walter <stef@thewalter.net> | 2013-07-17 12:55:57 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-07-18 13:04:37 +0200 |
commit | e403f7b33ac35e961c72ed1b6335bbe3084e4642 (patch) | |
tree | bb9e89ab69bae17d3ab28c3a61729ad65435407c /common | |
parent | 52a84b84a924a9f1cd8090b0a47b9f7d00ca69f3 (diff) |
Declare static variables const where it makes sense
https://bugzilla.redhat.com/show_bug.cgi?id=985337
Diffstat (limited to 'common')
-rw-r--r-- | common/path.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/path.c b/common/path.c index a22c2a6..2f976a8 100644 --- a/common/path.c +++ b/common/path.c @@ -62,9 +62,9 @@ char * p11_path_base (const char *path) { #ifdef OS_WIN32 - static const char *delims = "/\\"; + const char *delims = "/\\"; #else - static const char *delims = "/"; + const char *delims = "/"; #endif const char *end; @@ -191,9 +191,9 @@ p11_path_build (const char *path, ...) { #ifdef OS_WIN32 - static const char delim = '\\'; + const char delim = '\\'; #else - static const char delim = '/'; + const char delim = '/'; #endif const char *first = path; char *built; |