My source file starts with:
#include "foo.h"
I am able to use all of my global variables, types, and structs from my header file. In my header file i started with a couple of includes:
#include<file.h>
Then move on to global variables:
#define GLOBAL
Then structs:
#typedef struct boo;
Then types. Then i go to function declarations. I.E:
size_t foo(int*r, size_t nitems);
What am I doing wrong that i am getting linker errors>
The problem's presumably in how you're linking.