mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-01 10:58:23 +00:00
Case sensitive sort for SCHEMA_IMPORT bool prototypes
This commit is contained in:
@@ -142,24 +142,24 @@ SCHEMA_IMPORT const DriverStruct fact_sdr_fpga_ps_cfg;
|
||||
SCHEMA_IMPORT const DriverStruct fact_sync_ts_cfg;
|
||||
|
||||
SCHEMA_IMPORT bool GPP_ap_Reset(void *, void *);
|
||||
SCHEMA_IMPORT bool gpp_post_init(void *, void *);
|
||||
SCHEMA_IMPORT bool gpp_pre_init(void *, void *);
|
||||
SCHEMA_IMPORT bool HCI_Init(void *, void *);
|
||||
SCHEMA_IMPORT bool obc_pre_init(void *, void *);
|
||||
SCHEMA_IMPORT bool RFFE_disablePA(void *, void *);
|
||||
SCHEMA_IMPORT bool RFFE_enablePA(void *, void *);
|
||||
SCHEMA_IMPORT bool rffe_post_init(void *, void *);
|
||||
SCHEMA_IMPORT bool rffe_pre_init(void *, void *);
|
||||
SCHEMA_IMPORT bool RFFE_reset(void *, void *);
|
||||
SCHEMA_IMPORT bool SDR_Init(void *, void *);
|
||||
SCHEMA_IMPORT bool SDR_fx3Reset(void *, void *);
|
||||
SCHEMA_IMPORT bool SDR_Init(void *, void *);
|
||||
SCHEMA_IMPORT bool SDR_reset(void *, void *);
|
||||
SCHEMA_IMPORT bool SYNC_Init(void *, void *);
|
||||
SCHEMA_IMPORT bool SYNC_reset(void *, void *);
|
||||
SCHEMA_IMPORT bool SYS_cmdEcho(void *, void *);
|
||||
SCHEMA_IMPORT bool SYS_cmdReset(void *, void *);
|
||||
SCHEMA_IMPORT bool TestMod_cmdReset(void *, void *);
|
||||
SCHEMA_IMPORT bool gpp_post_init(void *, void *);
|
||||
SCHEMA_IMPORT bool gpp_pre_init(void *, void *);
|
||||
SCHEMA_IMPORT bool obc_pre_init(void *, void *);
|
||||
SCHEMA_IMPORT bool rffe_post_init(void *, void *);
|
||||
SCHEMA_IMPORT bool rffe_pre_init(void *, void *);
|
||||
SCHEMA_IMPORT bool sys_post_init(void *, void *);
|
||||
SCHEMA_IMPORT bool TestMod_cmdReset(void *, void *);
|
||||
|
||||
|
||||
const Component sys_schema[] = {
|
||||
|
||||
@@ -168,7 +168,7 @@ class SchemaUtils:
|
||||
qual3 = 'SCHEMA_IMPORT bool '
|
||||
qual4 = '(void *, void *)'
|
||||
lines3 = [qual3 + value + qual4 + ';' for value in iter(setP)]
|
||||
lines3.sort()
|
||||
lines3.sort(key=str.lower)
|
||||
str3 = '\n'.join(str(line) for line in lines3)
|
||||
|
||||
decls = str1 + '\n\n' + str2 + '\n\n' + str3 + '\n\n'
|
||||
|
||||
Reference in New Issue
Block a user