comparison gsm-fw/g23m-gsm/dl/dl_pei.c @ 708:6bc81ea50ab5

dl_pei.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 Oct 2014 04:16:56 +0000
parents 2f7df7a314f8
children
comparison
equal deleted inserted replaced
707:b111f8e4aef3 708:6bc81ea50ab5
20 */ 20 */
21 21
22 #ifndef DL_PEI_C 22 #ifndef DL_PEI_C
23 #define DL_PEI_C 23 #define DL_PEI_C
24 24
25 #include "config.h"
26 #include "fixedconf.h"
27 #include "condat-features.h"
28
25 #define ENTITY_DL 29 #define ENTITY_DL
26
27
28 30
29 /*==== INCLUDES ===================================================*/ 31 /*==== INCLUDES ===================================================*/
30 #include "typedefs.h" 32 #include "typedefs.h"
31 #include <string.h> 33 #include <string.h>
32 #include <stdlib.h> 34 #include <stdlib.h>
69 #endif /* _SIMULATION_ */ 71 #endif /* _SIMULATION_ */
70 72
71 static T_MONITOR dl_mon; 73 static T_MONITOR dl_mon;
72 74
73 /*==== FUNCTIONS ==================================================*/ 75 /*==== FUNCTIONS ==================================================*/
74 /* Please consider that the opc´s are not necessarily sorted in sequential order. 76 /* Please consider that the opc's are not necessarily sorted
75 * DL doesn´t use the normal technique to get the primitive from the table. 77 * in sequential order.
78 * DL doesn't use the normal technique to get the primitive from the table.
76 * Instead it uses the direct search and compare: 79 * Instead it uses the direct search and compare:
77 * for (i=0; i<n; i++, table++) 80 * for (i=0; i<n; i++, table++)
78 * if (table->opc EQ opc) 81 * if (table->opc EQ opc)
79 * break; 82 * break;
80 */ 83 */