summaryrefslogtreecommitdiffstats
path: root/RichString.h
diff options
context:
space:
mode:
Diffstat (limited to 'RichString.h')
-rw-r--r--RichString.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/RichString.h b/RichString.h
index a95726f7..9f5ebc70 100644
--- a/RichString.h
+++ b/RichString.h
@@ -2,15 +2,16 @@
#ifndef HEADER_RichString
#define HEADER_RichString
+/*
+htop - RichString.h
+(C) 2004,2011 Hisham H. Muhammad
+Released under the GNU GPL, see the COPYING file
+in the source distribution for its full text.
+*/
+#define RICHSTRING_MAXLEN 300
-#ifndef CONFIG_H
-#define CONFIG_H
#include "config.h"
-#endif
-
-#include <stdlib.h>
-#include <string.h>
#include <ctype.h>
#include "debug.h"
@@ -25,9 +26,6 @@
#include <curses.h>
#endif
-#define RICHSTRING_MAXLEN 300
-
-
#define RichString_size(this) ((this)->chlen)
#define RichString_sizeVal(this) ((this).chlen)