summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-21 11:02:15 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-21 11:02:15 +0000
commit5a64d74e70d79b250295dcd963a7b7898931f2d7 (patch)
tree30ecbcce801ee8b192ea09a5d2ad5536b7955833 /src
parent4c76e491005e10d87e2b309c7639294d8c5338c9 (diff)
Cleanup of some comments and includes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1772 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/tools/db-convert.c56
1 files changed, 3 insertions, 53 deletions
diff --git a/src/tools/db-convert.c b/src/tools/db-convert.c
index 119d0bfd8..2e3233623 100644
--- a/src/tools/db-convert.c
+++ b/src/tools/db-convert.c
@@ -1,8 +1,7 @@
/*
- * IRC - Internet Relay Chat, db-merger.c
- * (C) Copyright 2005-2006, Florian Schulze (Certus)
- *
- * Based on the original code of Anope, (C) 2003-2005 Anope Team
+ * Copyright (C) 2008 Robin Burchell <w00t@inspircd.org>
+ * Copyright (C) 2005-2006, Florian Schulze <certus@anope.org>
+ * Copyright (C) 2003-2005 Anope Team <info@anope.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (see it online
@@ -13,35 +12,6 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
- * This program tries to merge two standard anope-1.7.7+ database sets,
- * that includes chanserv, nickserv, botserv and memoserv databases.
- *
- * - Certus
- * February 11, 2005
- *
- *
- * 0.2 beta:
- * Fixed some overflows in the ->flags and the ->status fields. Use db-fix
- * to fix your broken nick dbs.
- *
- * - Certus
- * August 04, 2005
- *
- *
- * 0.3 beta:
- * Fixed win32 stuff. Merging should now work fine under windows.
- *
- * - Certus
- * July 20, 2006
- *
- *
- * 0.4 beta:
- * Fixed some compiler warnings about signed/unsigned ints.
- *
- * - Certus
- * August 8, 2006
-
*/
@@ -59,26 +29,6 @@
#include <windows.h>
#endif
-/* Some SUN fixs */
-#ifdef __sun
-/* Solaris specific code, types that do not exist in Solaris'
- * sys/types.h
- **/
-#undef u_int8_t
-#undef u_int16_t
-#undef u_int32_t
-#undef u_int_64_t
-#define u_int8_t uint8_t
-#define u_int16_t uint16_t
-#define u_int32_t uint32_t
-#define u_int64_t uint64_t
-
-#ifndef INADDR_NONE
-#define INADDR_NONE (-1)
-#endif
-
-#endif
-
#include <string>
#include <iostream>
#include <fstream>