diff --git a/src/zeroconf/Glue.cxx b/src/zeroconf/Glue.cxx index e05b71e26..0038819ea 100644 --- a/src/zeroconf/Glue.cxx +++ b/src/zeroconf/Glue.cxx @@ -91,7 +91,7 @@ ZeroconfInit(const ConfigData &config, [[maybe_unused]] EventLoop &loop) } void -ZeroconfDeinit() +ZeroconfDeinit() noexcept { if (!zeroconfEnabled) return; diff --git a/src/zeroconf/Glue.hxx b/src/zeroconf/Glue.hxx index 356b81107..ca379640b 100644 --- a/src/zeroconf/Glue.hxx +++ b/src/zeroconf/Glue.hxx @@ -34,7 +34,7 @@ void ZeroconfInit(const ConfigData &config, EventLoop &loop); void -ZeroconfDeinit(); +ZeroconfDeinit() noexcept; #else /* ! HAVE_ZEROCONF */ @@ -43,7 +43,7 @@ ZeroconfInit(const ConfigData &, EventLoop &) {} static inline void -ZeroconfDeinit() +ZeroconfDeinit() noexcept {} #endif /* ! HAVE_ZEROCONF */