summaryrefslogtreecommitdiffstats
path: root/RichString.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-12-26 21:35:57 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-12-26 21:35:57 +0000
commit84281bdc44ea42e110efd256cdcdd37a84276204 (patch)
tree77b2b1f5e8bfc57bd6bdb82ac215e84d9f3179e2 /RichString.c
parent81e44312b4976d5516f129f36a67fe381bcb6883 (diff)
major header cleanup
Diffstat (limited to 'RichString.c')
-rw-r--r--RichString.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/RichString.c b/RichString.c
index 4c617095..7f316b68 100644
--- a/RichString.c
+++ b/RichString.c
@@ -1,13 +1,19 @@
+/*
+htop - RichString.c
+(C) 2004,2011 Hisham H. Muhammad
+Released under the GNU GPL, see the COPYING file
+in the source distribution for its full text.
+*/
#include "RichString.h"
-#ifndef CONFIG_H
-#define CONFIG_H
-#include "config.h"
-#endif
-
#include <stdlib.h>
#include <string.h>
+
+#define RICHSTRING_MAXLEN 300
+
+/*{
+#include "config.h"
#include <ctype.h>
#include "debug.h"
@@ -22,10 +28,6 @@
#include <curses.h>
#endif
-#define RICHSTRING_MAXLEN 300
-
-/*{
-
#define RichString_size(this) ((this)->chlen)
#define RichString_sizeVal(this) ((this).chlen)

© 2014-2024 Faster IT GmbH | imprint | privacy policy