Fix function signature / pointer type
This commit is contained in:
parent
ea236a90da
commit
f45906a08b
@ -45,7 +45,7 @@ void sigpipe(int signum) {
|
||||
* full path if so or NULL if there is no file.
|
||||
*
|
||||
*/
|
||||
char *file_exists(const char *path) {
|
||||
static char *file_exists(char *path) {
|
||||
static glob_t globbuf;
|
||||
struct stat buf;
|
||||
char *full_path = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user