Add NOLINT for redundant socket_ready_fd forward declaration

clang-tidy flags the forward declaration in application.h as redundant
since socket.h (included earlier via esphome.h) already declares it.
The forward declaration is needed here for the friend declaration.
This commit is contained in:
J. Nick Koston
2026-02-28 23:30:35 -10:00
parent 8cedf8f882
commit 529c79a8a9
+1 -1
View File
@@ -107,7 +107,7 @@
namespace esphome::socket {
#ifdef USE_SOCKET_SELECT_SUPPORT
/// Shared ready() helper for fd-based socket implementations.
bool socket_ready_fd(int fd, bool loop_monitored);
bool socket_ready_fd(int fd, bool loop_monitored); // NOLINT(readability-redundant-declaration)
#endif
} // namespace esphome::socket