Thanks metze for pointing out the missing extern :-)
authorVolker Lendecke <vl@sernet.de>
Mon, 8 Sep 2008 14:23:36 +0000 (16:23 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 8 Sep 2008 14:40:09 +0000 (16:40 +0200)
(This used to be commit b62540cd48212a80c8cb4a264f740591a0229944)

source3/lib/sharesec.c

index 5eaa25ac59356079c2a9c8992b0179a636d7a2e2..33f66ca47f5255621b21985f8c68f91210816608 100644 (file)
@@ -29,7 +29,7 @@ static struct db_context *share_db; /* used for share security descriptors */
 
 /* Map generic permissions to file object specific permissions */
 
-const struct generic_mapping file_generic_mapping;
+extern const struct generic_mapping file_generic_mapping;
 
 static int delete_fn(struct db_record *rec, void *priv)
 {