]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
g++ 4.1 fixes (all trivial), copyright update
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 2 Mar 2006 21:21:16 +0000 (21:21 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 2 Mar 2006 21:21:16 +0000 (21:21 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@568 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/arguments.cc
pdns/arguments.hh
pdns/packetcache.hh
pdns/packethandler.hh
pdns/receiver.cc
pdns/ueberbackend.hh

index 9ecdacf8d014beb6b617c013b5a45a0c5a814817..d30ed1535c33c073efc5abaca635be0d5415f6c3 100644 (file)
@@ -1,11 +1,10 @@
 /*
     PowerDNS Versatile Database Driven Nameserver
-    Copyright (C) 2002  PowerDNS.COM BV
+    Copyright (C) 2002 - 2006  PowerDNS.COM BV
 
     This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
+    it under the terms of the GNU General Public License version 2 as published 
+    by the Free Software Foundation
 
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,8 +20,6 @@
 
 #include "arguments.hh"
 
-
-
 const ArgvMap::param_t::const_iterator ArgvMap::begin()
 {
   return params.begin();
index 12cc8cce7cdb3a329037d87bddc94bea30342c8e..6b77f85682a0d428f4ee5fd3222a86c58bf3e75b 100644 (file)
@@ -77,8 +77,8 @@ public:
   {
     parse(argc,argv,true);
   }
-  void ArgvMap::preParse(int &argc, char **argv, const string &arg); //!< use this to preparse a single var
-  bool ArgvMap::preParseFile(const char *fname, const string &arg); //!< use this to preparse a single var in configuration
+  void preParse(int &argc, char **argv, const string &arg); //!< use this to preparse a single var
+  bool preParseFile(const char *fname, const string &arg); //!< use this to preparse a single var in configuration
 
   bool file(const char *fname, bool lax=false); //!< Parses a file with parameters
   bool laxFile(const char *fname) 
index 8b52b98eeef703a94c7a6611ad5c6238663eb753..68a1c9897335c5360febf43996f35882d0fd0985 100644 (file)
@@ -63,7 +63,7 @@ class PacketCache
 public:
   PacketCache();
   void insert(DNSPacket *q, DNSPacket *r);  //!< We copy the contents of *p into our cache. Do not needlessly call this to insert questions already in the cache as it wastes resources
-  void PacketCache::insert(const char *packet, int length);
+  void insert(const char *packet, int length);
 
   inline int get(DNSPacket *p, DNSPacket *q); //!< We return a dynamically allocated copy out of our cache. You need to delete it. You also need to spoof in the right ID with the DNSPacket.spoofID() method.
   bool getKey(const string &key, string &content);
index 6a9a148f8e6af1d27ae934f8502edf7b9cdb7908..5c780b7787829a5dfdb875ec3573fd97f5ad7ff3 100644 (file)
@@ -82,7 +82,7 @@ public:
 private:
   int processNotify(DNSPacket *);
   void addRootReferral(DNSPacket *r);
-  int PacketHandler::trySuperMaster(DNSPacket *p);
+  int trySuperMaster(DNSPacket *p);
   int makeCanonic(DNSPacket *p, DNSPacket *r, string &target);
   int doWildcardRecords(DNSPacket *p, DNSPacket *r, string &target);
   int findMboxFW(DNSPacket *p, DNSPacket *r, string &target);
index 53137b5a32dc07d754a5e8385656b62927c4f452..c558952e45b0e9193e096535f5dd4604f7e3188d 100644 (file)
@@ -1,6 +1,6 @@
 /*
     PowerDNS Versatile Database Driven Nameserver
-    Copyright (C) 2002 - 2005  PowerDNS.COM BV
+    Copyright (C) 2002 - 2006  PowerDNS.COM BV
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License version 2 as published by
@@ -572,7 +572,7 @@ int main(int argc, char **argv)
   declareStats();
   DLOG(L<<Logger::Warning<<"Verbose logging in effect"<<endl);
   
-  L<<Logger::Warning<<"PowerDNS "<<VERSION<<" (C) 2001-2005 PowerDNS.COM BV ("<<__DATE__", "__TIME__;
+  L<<Logger::Warning<<"PowerDNS "<<VERSION<<" (C) 2001-2006 PowerDNS.COM BV ("<<__DATE__", "__TIME__;
 #ifdef __GNUC__
   L<<", gcc "__VERSION__;
 #endif // add other compilers here
index 09633d97c981110bce23323245ef82cec27f2386..4e36bdc0169deffa241f335d90ace0ed990dd620 100644 (file)
@@ -120,7 +120,7 @@ public:
 
   static DNSBackend *maker(const map<string,string> &);
   static void closeDynListener();
-  static void UeberBackend::setStatus(const string &st);
+  static void setStatus(const string &st);
   void getUnfreshSlaveInfos(vector<DomainInfo>* domains);
   void getUpdatedMasters(vector<DomainInfo>* domains);
   bool getDomainInfo(const string &domain, DomainInfo &di);