r16516: Get rid of file_exists() as there already is a file_exist().
[samba.git] / source4 / lib / util / util_file.c
index 8d8e7c6ec9c3b2a2566fd9812b9b7fcf1518c8aa..99432ad8bbd4a4a7bba76d27fcd512d663c49078 100644 (file)
@@ -356,15 +356,6 @@ _PUBLIC_ BOOL file_save(const char *fname, const void *packet, size_t length)
        return True;
 }
 
-/**
-  see if a file exists
-*/
-_PUBLIC_ BOOL file_exists(const char *path)
-{
-       struct stat st;
-       return (stat(path, &st) == 0);
-}
-
 _PUBLIC_ int vfdprintf(int fd, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0)
 {
        char *p;