Fix function signature / pointer type

This commit is contained in:
Michael Stapelberg 2009-10-24 13:39:36 +02:00
parent ea236a90da
commit f45906a08b

View File

@ -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;