summaryrefslogtreecommitdiffstats
path: root/kmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmem.h')
-rw-r--r--kmem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kmem.h b/kmem.h
index c093389..a11518a 100644
--- a/kmem.h
+++ b/kmem.h
@@ -2,6 +2,9 @@
#define _PCILIB_KMEM_H
#include "pcilib.h"
+
+typedef struct pcilib_kmem_list_s pcilib_kmem_list_t;
+
#include "tools.h"
typedef enum {
@@ -53,7 +56,6 @@ typedef struct {
typedef void pcilib_kmem_handle_t;
-typedef struct pcilib_kmem_list_s pcilib_kmem_list_t;
struct pcilib_kmem_list_s {
pcilib_kmem_list_t *next, *prev;