Skip to content
Snippets Groups Projects
Commit baab2c02 authored by deuce's avatar deuce
Browse files

constify base parameter to prep_dir.

parent bfd22453
Branches
Tags
No related merge requests found
...@@ -357,7 +357,7 @@ static void free_attr_cfg(scfg_t* cfg) ...@@ -357,7 +357,7 @@ static void free_attr_cfg(scfg_t* cfg)
cfg->total_colors=0; cfg->total_colors=0;
} }
char* DLLCALL prep_dir(char* base, char* path, size_t buflen) char* DLLCALL prep_dir(const char* base, char* path, size_t buflen)
{ {
#ifdef __unix__ #ifdef __unix__
char *p; char *p;
......
...@@ -953,7 +953,7 @@ extern "C" { ...@@ -953,7 +953,7 @@ extern "C" {
/* scfglib1.c */ /* scfglib1.c */
DLLEXPORT char * DLLCALL prep_dir(char* base, char* dir, size_t buflen); DLLEXPORT char * DLLCALL prep_dir(const char* base, char* dir, size_t buflen);
/* logfile.cpp */ /* logfile.cpp */
DLLEXPORT int DLLCALL errorlog(scfg_t* cfg, const char* host, const char* text); DLLEXPORT int DLLCALL errorlog(scfg_t* cfg, const char* host, const char* text);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment