|
最近在練習(xí)模塊化編程,現(xiàn)在我有兩個.c文件,都要用到 uint16,我在每個.h文件里都寫了 typedef unsigned int uint16;
可是軟件報錯,
Build target 'Target 1'
compiling LCD設(shè)計的秒表.c...
compiling miaob.c...
DELAY.H(4): error C231: 'uint16': redefinition
compiling delay.c...
DELAY.C(4): error C231: 'uint16': redefinition
Target not created
我該怎么改呢
|
|