Changed the definition of the linked list header used in the directory
[samba.git] / source3 / smbd / dir.c
index 8296a90fa1264be3b246ddf30223b04a1666218d..ceb9ae7633b188f62cd2ae457768fa1fc90a1992 100644 (file)
@@ -638,7 +638,7 @@ typedef struct
   int         snum;
   } dir_cache_entry;
 
-static ubi_dlList dir_cache[1] = { { NULL, NULL, 0 } };
+static ubi_dlNewList( dir_cache );
 
 void DirCacheAdd( char *path, char *name, char *dname, int snum )
   /* ------------------------------------------------------------------------ **