]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - stat.cpp
Use C++ naming for structures
[xonotic/gmqcc.git] / stat.cpp
index 1e171e8b97fa563ed73da40badb2706afd730925..8943a2b22863677c204f9ad840c4f4eb3573341c 100644 (file)
--- a/stat.cpp
+++ b/stat.cpp
@@ -55,11 +55,11 @@ void _util_vec_delete(void *data) {
  * all around.  This is the internal interface, please look for
  * EXPOSED INTERFACE comment below
  */
-typedef struct hash_node_t {
-    char               *key;   /* the key for this node in table */
-    void               *value; /* pointer to the data as void*   */
-    struct hash_node_t *next;  /* next node (linked list)        */
-} hash_node_t;
+struct hash_node_t {
+    char *key;   /* the key for this node in table */
+    void *value; /* pointer to the data as void*   */
+    hash_node_t *next;  /* next node (linked list)        */
+};
 
 size_t hash(const char *key);