Pārlūkot izejas kodu

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
Anbarasan Ganesan 2 gadi atpakaļ
vecāks
revīzija
0ce3a8e549
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      spectral/dispatcher/inc/spectral_ioctl.h

+ 3 - 3
spectral/dispatcher/inc/spectral_ioctl.h

@@ -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);
 
 /**