qcacmn: Use different assertion naming
Use different assertion name as same assertion name is being used in more than once instance. Fixed below error: error: redefinition of typedef 'struct_size_4byte_assertion' is a C11 feature [-Werror,-Wtypedef-redefinition] Change-Id: I5809172a599123705b50613aae825a29433a4ba3 CRs-Fixed: 3357183
This commit is contained in:

کامیت شده توسط
Madan Koyyalamudi

والد
a15ee7308e
کامیت
0ce3a8e549
@@ -495,7 +495,7 @@ struct samp_edge_extra_bin_info {
|
||||
} __packed;
|
||||
|
||||
/* Compile time assert to check struct size is divisible by 4 Bytes */
|
||||
SPECTRAL_COMPILE_TIME_ASSERT(struct_size_4byte_assertion,
|
||||
SPECTRAL_COMPILE_TIME_ASSERT(struct_samp_edge_extra_bin_size_4byte_assertion,
|
||||
(sizeof(struct samp_edge_extra_bin_info) % 4)
|
||||
== 0);
|
||||
|
||||
@@ -561,7 +561,7 @@ struct samp_detector_info {
|
||||
} __packed;
|
||||
|
||||
/* Compile time assert to check struct size is divisible by 4 Bytes */
|
||||
SPECTRAL_COMPILE_TIME_ASSERT(struct_size_4byte_assertion,
|
||||
SPECTRAL_COMPILE_TIME_ASSERT(struct_samp_detector_info_size_4byte_assertion,
|
||||
(sizeof(struct samp_detector_info) % 4) == 0);
|
||||
|
||||
/**
|
||||
@@ -580,7 +580,7 @@ struct samp_freq_span_info {
|
||||
} __packed;
|
||||
|
||||
/* Compile time assert to check struct size is divisible by 4 Bytes */
|
||||
SPECTRAL_COMPILE_TIME_ASSERT(struct_size_4byte_assertion,
|
||||
SPECTRAL_COMPILE_TIME_ASSERT(struct_samp_freq_span_info_size_4byte_assertion,
|
||||
(sizeof(struct samp_freq_span_info) % 4) == 0);
|
||||
|
||||
/**
|
||||
|
مرجع در شماره جدید
Block a user