Give all enums names. Helps in debugging.
authorJohn Gilmore <gnu@cygnus>
Sun, 21 Jul 1991 06:40:42 +0000 (06:40 +0000)
committerJohn Gilmore <gnu@cygnus>
Sun, 21 Jul 1991 06:40:42 +0000 (06:40 +0000)
include/bfd.h

index 79c23b9d6d06814452e229856546f2b7e0397f1a..290a0df3ac1bad4a20c551ec4dfc3605eba3b895 100644 (file)
@@ -113,7 +113,8 @@ typedef unsigned long symindex;
 
 #define BFD_NO_MORE_SYMBOLS ((symindex) ~0)
 
-typedef enum {bfd_symclass_unknown = 0,
+typedef enum bfd_symclass {
+             bfd_symclass_unknown = 0,
              bfd_symclass_fcommon, /* fortran common symbols */
              bfd_symclass_global, /* global symbol, what a surprise */
              bfd_symclass_debugger, /* some debugger symbol */
@@ -183,7 +184,8 @@ typedef struct stat stat_type;
 \f
 /** Error handling */
 
-typedef enum {no_error = 0, system_call_error, invalid_target,
+typedef enum bfd_error {
+             no_error = 0, system_call_error, invalid_target,
              wrong_format, invalid_operation, no_memory,
              no_symbols, no_relocation_info,
              no_more_archived_files, malformed_archive,
This page took 0.028484 seconds and 4 git commands to generate.