Skip to content

Commit

Permalink
Fix ifdef include guard comments to match the include guards (project…
Browse files Browse the repository at this point in the history
…-chip#3122)

* Fix copy and paste header guard comment

* More fixes after script check

* Add some terminating newlines
  • Loading branch information
andy31415 authored Oct 8, 2020
1 parent 08bfcce commit baeacbe
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion config/esp32/components/esp32_mbedtls/mbedtls/esp_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2337,4 +2337,4 @@

#include "mbedtls/check_config.h"

#endif /* MBEDTLS_CONFIG_H */
#endif /* ESP_CONFIG_H */
2 changes: 1 addition & 1 deletion examples/wifi-echo/server/esp32/main/include/LEDWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ class LEDWidget
friend void ClearErrorState(TimerHandle_t);
};

#endif // TITLE_WIDGET_H
#endif // LED_WIDGET_H
2 changes: 1 addition & 1 deletion src/app/clusters/ias-zone-server/ias-zone-server-test.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@
#undef EMBER_BINDING_TABLE_SIZE
#define EMBER_BINDING_TABLE_SIZE 12

#endif //__IAS_ZONE_SERVER_TEST_H__
#endif // SILABS_IAS_ZONE_SERVER_TEST_H
2 changes: 1 addition & 1 deletion src/app/clusters/ias-zone-server/ias-zone-server.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ void emberAfPluginIasZoneServerPrintQueue(void);
*/
void emberAfPluginIasZoneServerPrintQueueConfig(void);

#endif //__IAS_ZONE_SERVER_H__
#endif // SILABS_IAS_ZONE_SERVER_H
3 changes: 2 additions & 1 deletion src/app/util/ember-print.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ void emberAfPrintBuffer(int category, const uint8_t * buffer, uint16_t length, b
* @param string - Buffer to print as a string
* */
void emberAfPrintString(int category, const uint8_t * string);
#endif // EMBER_PRINT

#endif // EMBER_PRINT_H
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/CHIPOnOff.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ NS_ASSUME_NONNULL_BEGIN

NS_ASSUME_NONNULL_END

#endif /* CHIP_DEVICE_CONTROLLER_H */
#endif /* CHIP_ONOFF_H */
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ inline bool GenericNetworkProvisioningServerImpl<ImplClass>::_ScanInProgress(voi
} // namespace DeviceLayer
} // namespace chip

#endif // NETWORK_PROVISIONING_SERVER_H
#endif // GENERIC_NETWORK_PROVISIONING_SERVER_IMPL_H
2 changes: 1 addition & 1 deletion src/inet/IPEndPointBasis.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,4 @@ inline struct netif * IPEndPointBasis::FindNetifFromInterfaceId(InterfaceId aInt
} // namespace Inet
} // namespace chip

#endif // !defined(IPENDPOINT_H)
#endif // !defined(IPENDPOINTBASIS_H)
2 changes: 1 addition & 1 deletion src/lib/support/BufBound.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ class BufBound

} // namespace chip

#endif /* CHIP_BUFBOUND */
#endif /* CHIP_BUFBOUND_H */
2 changes: 1 addition & 1 deletion src/platform/tests/TestPlatformTime.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@

int TestPlatformTime();

#endif // TESTCONFIGURATIONMGR_H
#endif // TESTPLATFORMTIME_H

0 comments on commit baeacbe

Please sign in to comment.