summaryrefslogtreecommitdiffstats
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resource.c2
-rw-r--r--src/resources/resource.h2
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,