Code:
#ifndef DATATYPES_H_DEFINED
#define DATATYPES_H_DEFINED
#define word unsigned short
#define DEBUG 0
//....Lots of other types
typedef struct keyboard_map{
char *name;
unsigned char value;
} LOOKUP;
#endif
//Eanfunc.h
#ifndef EANFUNC_H_INCLUDED
#define EANFUNC_H_INCLUDED
#include "datatypes.h"
int ai[] = {
{18},{14},{14},{14},{16},{0},{0},{0},{0},{0},{0},{6},{6},{6},{6},{6},{6},{6},{6},{6},
{2},{0},{0},{0},{0},{0},{0},{0},{0},{0},{0},{6},{6},{6},{6},{6},{6},{0},{0},{0},
{0},{13}
};
char *fett[] = {
{"1-"},{"1 "},{"1+"},{"2-"},{"2 "},{"2+"},{"3-"},{"3 "},{"3+"},{"4-"},{"4 "},{"4+"},{"5-"},{"5 "},{"5+"},{0}
};
char Ean13Read(char *kode, BC_13 *bar, char *type);
void Ean13Write(char *achKode, double *dMenLev);
char Ean13Check(char *achKode);
char Ean128Read(char *kode, BC_128 *bar);
#endif
The only time i've seen this error elsewhere, is when i've given two macros the same name.