r6225: get rid of warnings from my compiler about nested externs
[obnox/samba/samba-obnox.git] / source / libsmb / clilist.c
index 0f1b9efed0e80f55c67f63cd38b1d67c53ebbac6..79c2ef66a19ac72320711bae55f96a8f6b4df2b3 100644 (file)
@@ -22,6 +22,8 @@
 
 #include "includes.h"
 
+extern file_info def_finfo;
+
 /****************************************************************************
  Interpret a long filename structure - this is mostly guesses at the moment.
  The length of the structure is returned
@@ -32,7 +34,6 @@
 static size_t interpret_long_filename(struct cli_state *cli,
                                   int level,char *p,file_info *finfo)
 {
-       extern file_info def_finfo;
        file_info finfo2;
        int len;
        char *base = p;
@@ -332,7 +333,6 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
 
 static int interpret_short_filename(struct cli_state *cli, char *p,file_info *finfo)
 {
-       extern file_info def_finfo;
 
        *finfo = def_finfo;