I try to build your code in AIX with GNU Make and GCC. So in AIX we have file type.h with the line:
typedef uint_t uint
And this leads to name conflict with your test_theft.c. I just renamd your "uint" to "uint_val" and it worked. So i mean will be better to rename "uint" to some more specific. I am reading your code about 1 minute and afraid to offer a specific name.
I try to build your code in AIX with GNU Make and GCC. So in AIX we have file type.h with the line:
And this leads to name conflict with your test_theft.c. I just renamd your "uint" to "uint_val" and it worked. So i mean will be better to rename "uint" to some more specific. I am reading your code about 1 minute and afraid to offer a specific name.