diff --git a/src/cc65/datatype.c b/src/cc65/datatype.c index 7aa50ad64..c57ba62ab 100644 --- a/src/cc65/datatype.c +++ b/src/cc65/datatype.c @@ -57,13 +57,15 @@ /* Predefined type strings */ -type type_uchar [] = { T_UCHAR, T_END }; -type type_int [] = { T_INT, T_END }; -type type_uint [] = { T_UINT, T_END }; -type type_long [] = { T_LONG, T_END }; -type type_ulong [] = { T_ULONG, T_END }; -type type_void [] = { T_VOID, T_END }; -type type_size_t [] = { T_SIZE_T, T_END }; +type type_uchar[] = { T_UCHAR, T_END }; +type type_int[] = { T_INT, T_END }; +type type_uint[] = { T_UINT, T_END }; +type type_long[] = { T_LONG, T_END }; +type type_ulong[] = { T_ULONG, T_END }; +type type_void[] = { T_VOID, T_END }; +type type_size_t[] = { T_SIZE_T, T_END }; +type type_float[] = { T_FLOAT, T_END }; +type type_double[] = { T_DOUBLE, T_END }; diff --git a/src/cc65/datatype.h b/src/cc65/datatype.h index f921a8e45..180654133 100644 --- a/src/cc65/datatype.h +++ b/src/cc65/datatype.h @@ -161,13 +161,15 @@ typedef unsigned short type; #define SIZEOF_PTR 2 /* Predefined type strings */ -extern type type_uchar []; -extern type type_int []; -extern type type_uint []; -extern type type_long []; -extern type type_ulong []; -extern type type_void []; -extern type type_size_t []; +extern type type_uchar[]; +extern type type_int[]; +extern type type_uint[]; +extern type type_long[]; +extern type type_ulong[]; +extern type type_void[]; +extern type type_size_t[]; +extern type type_float[]; +extern type type_double[];