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: auth-3.4.2~4^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2140%2Fhead;p=thirdparty%2Fpdns.git use uint32_t consistently, this makes the 'u_int32_t not defined on SunOS.' patch from pkgsrc obsolete (cherry picked from commit e7e17863115ce2b6f97dae5ebfe51178600ca370) --- diff --git a/modules/luabackend/luabackend.hh b/modules/luabackend/luabackend.hh index 5409ebee3f..ea0275f948 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 559e63f3ed..d607e24475 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;