From fccea0260f24c31be50d83f23a0e0c609550be70 Mon Sep 17 00:00:00 2001
From: InfiniteYuan <infiniteyuan@outlook.com>
Date: Wed, 10 Jan 2024 10:31:28 +0800
Subject: [PATCH] fix: function declaration isn't a prototype

---
 components/led/lightbulb_driver/CHANGELOG.md        | 6 ++++++
 components/led/lightbulb_driver/idf_component.yml   | 2 +-
 components/led/lightbulb_driver/include/lightbulb.h | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/components/led/lightbulb_driver/CHANGELOG.md b/components/led/lightbulb_driver/CHANGELOG.md
index 7e553c5d0..bf0a450e4 100644
--- a/components/led/lightbulb_driver/CHANGELOG.md
+++ b/components/led/lightbulb_driver/CHANGELOG.md
@@ -1,5 +1,11 @@
 # ChangeLog
 
+## v0.5.3 - 2024-01-10
+
+### Bug Fixes:
+
+* fix: function declaration isn't a prototype [-Werror=strict-prototypes]
+
 ## v0.5.2 - 2023-10-28
 
 ### Enhancements:
diff --git a/components/led/lightbulb_driver/idf_component.yml b/components/led/lightbulb_driver/idf_component.yml
index 0134cf73a..e9a5b3563 100644
--- a/components/led/lightbulb_driver/idf_component.yml
+++ b/components/led/lightbulb_driver/idf_component.yml
@@ -1,4 +1,4 @@
-version: "0.5.2"
+version: "0.5.3"
 description: Provide multiple dimming driver solutions to easily build lightbulb applications
 url: https://github.com/espressif/esp-iot-solution/tree/master/components/led/lightbulb_driver
 dependencies:
diff --git a/components/led/lightbulb_driver/include/lightbulb.h b/components/led/lightbulb_driver/include/lightbulb.h
index 4698477f6..0c9e0096a 100644
--- a/components/led/lightbulb_driver/include/lightbulb.h
+++ b/components/led/lightbulb_driver/include/lightbulb.h
@@ -603,7 +603,7 @@ int16_t lightbulb_get_cct_kelvin(void);
  *
  * @return int8_t
  */
-int8_t lightbulb_get_brightness();
+int8_t lightbulb_get_brightness(void);
 
 /**
  * @brief Get on/off status