# HG changeset patch # User Andre Heinecke # Date 1392806680 0 # Node ID 58d51a91d44865071881d5a96b9f68cc5dfdc17c # Parent e26f9cc93601240a780fd27e6ef72a98158aa2b7 Change Unknown state to UnknownValidity to avoid name clashes diff -r e26f9cc93601 -r 58d51a91d448 ui/listutil.c --- a/ui/listutil.c Wed Feb 19 10:44:09 2014 +0000 +++ b/ui/listutil.c Wed Feb 19 10:44:40 2014 +0000 @@ -82,7 +82,7 @@ goto cleanup; } - retval = Unknown; + retval = UnknownValidity; cleanup: if (fd && fd != -1) { @@ -104,7 +104,7 @@ retval = readList(fileName, data, size); - if (retval != Unknown) { + if (retval != UnknownValidity) { printf ("Readlist failed\n"); return retval; } diff -r e26f9cc93601 -r 58d51a91d448 ui/listutil.h --- a/ui/listutil.h Wed Feb 19 10:44:09 2014 +0000 +++ b/ui/listutil.h Wed Feb 19 10:44:40 2014 +0000 @@ -16,7 +16,7 @@ * @brief Status of the List Operations */ typedef enum { - Unknown = 0, // Not yet parsed + UnknownValidity = 0, // Not yet parsed UnknownError = 1, // The expected unexpected TooLarge = 2, // Failed because the file exeeds the limit InvalidFormat = 3, // File does not appear to be in list format