summaryrefslogtreecommitdiff
path: root/include/s_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/s_misc.h')
-rw-r--r--include/s_misc.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/s_misc.h b/include/s_misc.h
index c44344f..53b9f1e 100644
--- a/include/s_misc.h
+++ b/include/s_misc.h
@@ -1,8 +1,7 @@
/*
- * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
- * s_misc.h: A header for the miscellaneous functions.
+ * ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
*
- * Copyright (C) 2002 by the past and present ircd coders, and others.
+ * Copyright (c) 1997-2014 ircd-hybrid development team
*
* 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
@@ -18,8 +17,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
- *
- * $Id$
+ */
+
+/*! \file s_misc.h
+ * \brief A header for the miscellaneous functions.
+ * \version $Id$
*/
#ifndef INCLUDED_s_misc_h
@@ -32,7 +34,6 @@ extern const char *ssl_get_cipher(const SSL *);
#endif
/* Just blindly define our own MIN/MAX macro */
-
#define IRCD_MAX(a, b) ((a) > (b) ? (a) : (b))
#define IRCD_MIN(a, b) ((a) < (b) ? (a) : (b))
@@ -43,5 +44,5 @@ extern const char *ssl_get_cipher(const SSL *);
(((x) > _1MEG) ? "Megabytes" : "Kilobytes")))
#define _GMKv(x) (((x) > _1TER) ? (float)((x)/_1TER) : (((x) > _1GIG) ? \
(float)((x)/_1GIG) : (((x) > _1MEG) ? (float)((x)/_1MEG) : \
- (float)(x))))
+ (float)(x))))
#endif