summaryrefslogtreecommitdiffstatshomepage
path: root/src/build
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-15 21:47:30 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-15 21:47:30 +0000
commitab97dc30efdd5cc1abf8c65b8ce29af364219167 (patch)
tree5ab46b3c21f6e0e4173a79a4151e019b3f2dc17e /src/build
parentd1da89cc7817315f05269205a3f56d36ebba170b (diff)
First pass at modernizing struct definitions.
Diffstat (limited to 'src/build')
-rw-r--r--src/build/png2bdc.c6
-rw-r--r--src/build/verinfo.c3
2 files changed, 3 insertions, 6 deletions
diff --git a/src/build/png2bdc.c b/src/build/png2bdc.c
index 318e53d6f50..643a96ab5b8 100644
--- a/src/build/png2bdc.c
+++ b/src/build/png2bdc.c
@@ -68,8 +68,7 @@
***************************************************************************/
/* a render_font contains information about a single character in a font */
-typedef struct _render_font_char render_font_char;
-struct _render_font_char
+struct render_font_char
{
INT32 width; /* width from this character to the next */
INT32 xoffs, yoffs; /* X and Y offset from baseline to top,left of bitmap */
@@ -79,8 +78,7 @@ struct _render_font_char
/* a render_font contains information about a font */
-typedef struct _render_font render_font;
-struct _render_font
+struct render_font
{
int height; /* height of the font, from ascent to descent */
int yoffs; /* y offset from baseline to descent */
diff --git a/src/build/verinfo.c b/src/build/verinfo.c
index 473ac7dc6d2..3b3e1ac9b84 100644
--- a/src/build/verinfo.c
+++ b/src/build/verinfo.c
@@ -24,8 +24,7 @@ typedef unsigned char UINT8;
// TYPE DEFINITIONS
//============================================================
-typedef struct _version_info version_info;
-struct _version_info
+struct version_info
{
int version_major;
int version_minor;