]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Comment out use of uint that breaks Windows build
authorKern Sibbald <kern@sibbald.com>
Sun, 15 Jul 2018 09:59:16 +0000 (11:59 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 15 Jul 2018 09:59:16 +0000 (11:59 +0200)
bacula/src/dird/ua_dotcmds.c
bacula/src/lib/message.c
bacula/src/lib/message.h

index 8990e4a79a08cd0d88a5199da794b8b8c167d833..b4f087e1de2844da7877691eb6436ec23c78b4be 100644 (file)
@@ -1872,10 +1872,12 @@ static bool typescmd(UAContext *ua, const char *cmd)
 
 static bool tagscmd(UAContext *ua, const char *cmd)
 {
+#ifdef xxx
    uint i = 0;
    for (const char *p = debug_get_tag(i++, NULL) ; p ; p = debug_get_tag(i++, NULL)) {
       ua->send_msg("%s\n", p);
    }
+#endif
    return true;
 }
 
index ad8c519e55f7ea0383516e07526d1ae3fbe8fe2c..b3c4a0e500568cf9cefe3ebe69aa2efd23450acc 100644 (file)
@@ -1847,6 +1847,7 @@ static struct debugtags debug_tags[] = {
 
 #define MAX_TAG (sizeof(debug_tags) / sizeof(struct debugtags))
 
+#ifdef xxx   /* Hey  what is unit??? it is not defined on all platforms */
 const char *debug_get_tag(uint pos, const char **desc)
 {
    if (pos < MAX_TAG) {
@@ -1857,6 +1858,7 @@ const char *debug_get_tag(uint pos, const char **desc)
    }
    return NULL;
 }
+#endif
 
 /* Allow +-, */
 bool debug_find_tag(const char *tagname, bool add, int64_t *current_level)
index 04ccaeba483f87874e8c3bc81222c9a28eeeb4fb..2e84fb45c73443bac2450f1b9828788bc893b83a 100644 (file)
@@ -165,7 +165,7 @@ struct MQUEUE_ITEM {
 #define    DT_ASX        (1<<16)                /* used by Alain for personal debugging */
 #define    DT_ALL        (0x7FFF0000)           /* all (up to debug_level 65635, 15 flags available) */
 
-const char *debug_get_tag(uint pos, const char **desc);
+//const char *debug_get_tag(uint pos, const char **desc);
 bool debug_find_tag(const char *tagname, bool add, int64_t *current_level);
 bool debug_parse_tags(const char *options, int64_t *current_level);