summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/opresolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/opresolv.h')
-rw-r--r--src/lib/util/opresolv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/opresolv.h b/src/lib/util/opresolv.h
index c5aad88ba2c..3cc3ad1cc24 100644
--- a/src/lib/util/opresolv.h
+++ b/src/lib/util/opresolv.h
@@ -91,7 +91,7 @@ struct option_guide
#define OPTION_ENUM_END
-typedef enum
+enum optreserr_t
{
OPTIONRESOLUTION_ERROR_SUCCESS,
OPTIONRESOLUTION_ERROR_OUTOFMEMORY,
@@ -102,7 +102,7 @@ typedef enum
OPTIONRESOLUTION_ERROR_BADPARAM,
OPTIONRESOLUTION_ERROR_SYNTAX,
OPTIONRESOLTUION_ERROR_INTERNAL
-} optreserr_t;
+};