aboutsummaryrefslogtreecommitdiffstats
path: root/RichString.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
commite2b58f0ab81b2aafeb8c29a69abad7829fa21ab3 (patch)
treec4e410dd878ceed9fc058d14bad8011b423212fe /RichString.c
parenteaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff)
downloaddebian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.tar.gz
debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.tar.bz2
debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.zip
Imported Upstream version 1.0.1upstream/1.0.1
Diffstat (limited to 'RichString.c')
-rw-r--r--RichString.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/RichString.c b/RichString.c
index 4c61709..eca2293 100644
--- a/RichString.c
+++ b/RichString.c
@@ -1,16 +1,21 @@
+/*
+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"
#include <assert.h>
#ifdef HAVE_NCURSESW_CURSES_H
#include <ncursesw/curses.h>
@@ -22,10 +27,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