From 22357decdbdd612a00bcfa9291b767e6f068fd9f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 19 Feb 2013 22:06:09 -0500 Subject: Enable and fix a bunch of GCC warnings. --- (limited to 'src/resources') 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, -- cgit v0.9.1