]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ftepp.cpp
Use C++ naming for structures
[xonotic/gmqcc.git] / ftepp.cpp
index 2cfe4cb61bd50d5eb93b0563c29409b3dc1e29e1..0f292d0b2f33cab27b7745f88f74b93e033af499 100644 (file)
--- a/ftepp.cpp
+++ b/ftepp.cpp
@@ -145,10 +145,10 @@ static char *ftepp_predef_timestamp(ftepp_t *context) {
     return value;
 }
 
-typedef struct {
-    const char   *name;
-    char       *(*func)(ftepp_t *);
-} ftepp_predef_t;
+struct ftepp_predef_t {
+    const char *name;
+    char *(*func)(ftepp_t *);
+};
 
 static const ftepp_predef_t ftepp_predefs[] = {
     { "__LINE__",         &ftepp_predef_line        },
@@ -565,9 +565,9 @@ static bool ftepp_define(ftepp_t *ftepp)
  * this kind of parens. Curly braces or [] don't count towards the
  * paren-level.
  */
-typedef struct {
+struct macroparam {
     pptoken **tokens;
-} macroparam;
+};
 
 static void macroparam_clean(macroparam *self)
 {