From 8c2e573f165da60811a22f22eb885b2e60f8d363 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Mon, 28 Jan 2019 14:21:32 +0100 Subject: sokol_args.h: minor style fixes --- sokol_args.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sokol_args.h') diff --git a/sokol_args.h b/sokol_args.h index 764c0283..afd6cde7 100644 --- a/sokol_args.h +++ b/sokol_args.h @@ -281,7 +281,7 @@ SOKOL_API_DECL const char* sargs_value_at(int index); /*--- IMPLEMENTATION ---------------------------------------------------------*/ #ifdef SOKOL_IMPL -#include +#include /* memset, strcmp */ #if defined(__EMSCRIPTEN__) #include @@ -344,7 +344,7 @@ SOKOL_API_DECL const char* sargs_value_at(int index); typedef struct { int key; /* index to start of key string in buf */ int val; /* index to start of value string in buf */ -} _sargs_kvp; +} _sargs_kvp_t; /* sokol-args state */ typedef struct { @@ -362,8 +362,8 @@ typedef struct { char quote; /* current quote char, 0 if not in a quote */ bool in_escape; /* currently in an escape sequence */ #endif -} _sargs_state; -static _sargs_state _sargs; +} _sargs_state_t; +static _sargs_state_t _sargs; /*== PRIVATE IMPLEMENTATION FUNCTIONS ========================================*/ -- cgit v1.2.3