summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/path.c8
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;