summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-30 22:36:08 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-30 22:36:08 +0000
commitf96ddd39748f283768217fb1a3cdd3a7cbde353a (patch)
tree12929cfa52dcd3de5871efe355168f762a3740eb /include
parent550f8bce1bf19ef186f27e574ea126113568d5e3 (diff)
Started on -Wall - safe compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/dns.h2
-rw-r--r--include/modules.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/dns.h b/include/dns.h
index 034efb930..d0cb97804 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -39,7 +39,7 @@ private:
char* result;
int t;
void dns_init();
- unsigned int fd;
+ int fd;
void dns_init_2(const char* dnsserver);
in_addr *dns_aton4(const char * const ipstring);
char *dns_ntoa4(const in_addr * const ip);
diff --git a/include/modules.h b/include/modules.h
index da2bfe023..0737f9e17 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -144,6 +144,7 @@ class ModuleMessage : public classbase
/** This class is pure virtual and must be inherited.
*/
virtual char* Send() = 0;
+ virtual ~ModuleMessage() {};
};
/** The Request class is a unicast message directed at a given module.