diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-01-28 14:21:32 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-01-28 14:21:32 +0100 |
| commit | 8c2e573f165da60811a22f22eb885b2e60f8d363 (patch) | |
| tree | 36e492354ae637c50f8870524be7b3157a46dcdf /sokol_args.h | |
| parent | abf31dd19a868d5497fb6fc54704678ad2f5a702 (diff) | |
sokol_args.h: minor style fixes
Diffstat (limited to 'sokol_args.h')
| -rw-r--r-- | sokol_args.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 <string.h> +#include <string.h> /* memset, strcmp */ #if defined(__EMSCRIPTEN__) #include <emscripten/emscripten.h> @@ -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 ========================================*/ |