summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2008-05-28 22:17:28 +0000
committerWerner Lemberg <wl@gnu.org>2008-05-28 22:17:28 +0000
commit2b0b4221abba6497e05183d58c6a36821b9cce06 (patch)
tree2a0feb7da6b195d18c51411f194ef37db2306889 /src/tools
parent0e9b0ec4605d9e840a83cad3ceab73c949549543 (diff)
Cosmetic code changes.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/apinames.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/apinames.c b/src/tools/apinames.c
index f08919be..19aec500 100644
--- a/src/tools/apinames.c
+++ b/src/tools/apinames.c
@@ -10,7 +10,7 @@
* accepted if you are using GCC for compilation (and probably by
* other compilers too).
*
- * Author: David Turner, 2005, 2006
+ * Author: David Turner, 2005, 2006, 2008
*
* This code is explicitly placed into the public domain.
*
@@ -26,7 +26,7 @@
#define LINEBUFF_SIZE 1024
-typedef enum
+typedef enum OutputFormat_
{
OUTPUT_LIST = 0, /* output the list of names, one per line */
OUTPUT_WINDOWS_DEF, /* output a Windows .DEF file for Visual C++ or Mingw */
@@ -44,7 +44,7 @@ panic( const char* message )
}
-typedef struct
+typedef struct NameRec_
{
char* name;
unsigned int hash;
@@ -191,7 +191,7 @@ names_dump( FILE* out,
/* states of the line parser */
-typedef enum
+typedef enum State_
{
STATE_START = 0, /* waiting for FT_EXPORT keyword and return type */
STATE_TYPE /* type was read, waiting for function name */