Commit 01576436 authored by Max Kellermann's avatar Max Kellermann

zeroconf/Glue: add `noexcept`

parent fe741bd7
...@@ -91,7 +91,7 @@ ZeroconfInit(const ConfigData &config, [[maybe_unused]] EventLoop &loop) ...@@ -91,7 +91,7 @@ ZeroconfInit(const ConfigData &config, [[maybe_unused]] EventLoop &loop)
} }
void void
ZeroconfDeinit() ZeroconfDeinit() noexcept
{ {
if (!zeroconfEnabled) if (!zeroconfEnabled)
return; return;
......
...@@ -34,7 +34,7 @@ void ...@@ -34,7 +34,7 @@ void
ZeroconfInit(const ConfigData &config, EventLoop &loop); ZeroconfInit(const ConfigData &config, EventLoop &loop);
void void
ZeroconfDeinit(); ZeroconfDeinit() noexcept;
#else /* ! HAVE_ZEROCONF */ #else /* ! HAVE_ZEROCONF */
...@@ -43,7 +43,7 @@ ZeroconfInit(const ConfigData &, EventLoop &) ...@@ -43,7 +43,7 @@ ZeroconfInit(const ConfigData &, EventLoop &)
{} {}
static inline void static inline void
ZeroconfDeinit() ZeroconfDeinit() noexcept
{} {}
#endif /* ! HAVE_ZEROCONF */ #endif /* ! HAVE_ZEROCONF */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment