diff options
author | P. J. McDermott <pjm@nac.net> | 2013-02-19 22:06:09 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-02-19 22:06:09 (EST) |
commit | 22357decdbdd612a00bcfa9291b767e6f068fd9f (patch) | |
tree | 9f561763e76da4fb57679de89731a04f25c84c58 /src/resources | |
parent | 8935a3d7639615d142510cde24b3ef7f1e71eab5 (diff) | |
download | overworld-rpg-22357decdbdd612a00bcfa9291b767e6f068fd9f.zip overworld-rpg-22357decdbdd612a00bcfa9291b767e6f068fd9f.tar.gz overworld-rpg-22357decdbdd612a00bcfa9291b767e6f068fd9f.tar.bz2 |
Enable and fix a bunch of GCC warnings.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/resource.c | 2 | ||||
-rw-r--r-- | src/resources/resource.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resource.c b/src/resources/resource.c index ebfcf27..90df5c2 100644 --- a/src/resources/resource.c +++ b/src/resources/resource.c @@ -4,7 +4,7 @@ #include "../logging.h" -inline void * +void * resource_alloc(const char *path, size_t size) { void *new_res; diff --git a/src/resources/resource.h b/src/resources/resource.h index ada91fd..5bec5e8 100644 --- a/src/resources/resource.h +++ b/src/resources/resource.h @@ -12,7 +12,7 @@ struct resource { struct resource *next; }; -extern inline void *resource_alloc(const char *path, size_t size); +void *resource_alloc(const char *path, size_t size); struct resource *resource_get(struct resource_table *resources, const char *path); void resource_add(struct resource_table *resources, const char *path, |