From: Peter van Dijk Date: Mon, 12 Jan 2015 15:53:19 +0000 (+0100) Subject: use uint32_t consistently, this makes the 'u_int32_t not defined on SunOS.' patch... X-Git-Tag: rec-3.7.0-rc2~28^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7e17863115ce2b6f97dae5ebfe51178600ca370;p=pdns use uint32_t consistently, this makes the 'u_int32_t not defined on SunOS.' patch from pkgsrc obsolete --- diff --git a/modules/luabackend/luabackend.hh b/modules/luabackend/luabackend.hh index 5409ebee3..ea0275f94 100644 --- a/modules/luabackend/luabackend.hh +++ b/modules/luabackend/luabackend.hh @@ -43,7 +43,7 @@ public: // MASTER BACKEND void getUpdatedMasters(vector* domains); - void setNotifed(int id, u_int32_t serial); + void setNotifed(int id, uint32_t serial); // SLAVE BACKEND diff --git a/modules/luabackend/master.cc b/modules/luabackend/master.cc index 559e63f3e..d607e2447 100644 --- a/modules/luabackend/master.cc +++ b/modules/luabackend/master.cc @@ -23,7 +23,7 @@ /* virtual void getUpdatedMasters(vector* domains); - virtual void setNotifed(int id, u_int32_t serial); + virtual void setNotifed(int id, uint32_t serial); */ void LUABackend::getUpdatedMasters(vector* domains) { @@ -56,7 +56,7 @@ void LUABackend::getUpdatedMasters(vector* domains) { L << Logger::Info << backend_name << "(getUpdatedMasters) END" << endl; } -void LUABackend::setNotifed(int id, u_int32_t serial) { +void LUABackend::setNotifed(int id, uint32_t serial) { if (f_lua_setnotifed == 0) return;