mirror of https://github.com/xzeldon/htop.git
Fixes for header generation.
This commit is contained in:
parent
130938f691
commit
f78a18ff44
12
htop.c
12
htop.c
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
htop - htop.c
|
htop - htop.c
|
||||||
(C) 2004,2005 Hisham H. Muhammad
|
(C) 2004-2006 Hisham H. Muhammad
|
||||||
Released under the GNU GPL, see the COPYING file
|
Released under the GNU GPL, see the COPYING file
|
||||||
in the source distribution for its full text.
|
in the source distribution for its full text.
|
||||||
*/
|
*/
|
||||||
|
@ -12,11 +12,6 @@ in the source distribution for its full text.
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#ifndef CONFIG_H
|
|
||||||
#define CONFIG_H
|
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "ProcessList.h"
|
#include "ProcessList.h"
|
||||||
#include "CRT.h"
|
#include "CRT.h"
|
||||||
#include "ListBox.h"
|
#include "ListBox.h"
|
||||||
|
@ -31,6 +26,7 @@ in the source distribution for its full text.
|
||||||
#include "SignalsListBox.h"
|
#include "SignalsListBox.h"
|
||||||
#include "TraceScreen.h"
|
#include "TraceScreen.h"
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
//#link m
|
//#link m
|
||||||
|
@ -42,14 +38,14 @@ char htop_barCharacters[] = "|#*@$%&";
|
||||||
|
|
||||||
void printVersionFlag() {
|
void printVersionFlag() {
|
||||||
clear();
|
clear();
|
||||||
printf("htop " VERSION " - (C) 2004,2005 Hisham Muhammad.\n");
|
printf("htop " VERSION " - (C) 2004-2006 Hisham Muhammad.\n");
|
||||||
printf("Released under the GNU GPL.\n\n");
|
printf("Released under the GNU GPL.\n\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void printHelpFlag() {
|
void printHelpFlag() {
|
||||||
clear();
|
clear();
|
||||||
printf("htop " VERSION " - (C) 2004,2005 Hisham Muhammad.\n");
|
printf("htop " VERSION " - (C) 2004-2006 Hisham Muhammad.\n");
|
||||||
printf("Released under the GNU GPL.\n\n");
|
printf("Released under the GNU GPL.\n\n");
|
||||||
printf("-d DELAY Delay between updates, in tenths of seconds\n\n");
|
printf("-d DELAY Delay between updates, in tenths of seconds\n\n");
|
||||||
printf("-u USERNAME Show only processes of a given user\n\n");
|
printf("-u USERNAME Show only processes of a given user\n\n");
|
||||||
|
|
Loading…
Reference in New Issue