Commit 2f1f82ee authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Updates for new version of the MakeHeader.py script.

parent b95993fa
......@@ -14,10 +14,10 @@ in the source distribution for its full text.
#include "debug.h"
/* private property */
int TasksMeter_attributes[] = { TASKS_RUNNING };
int TasksMeter_attributes[] = {
TASKS_RUNNING
};
/* private */
MeterType TasksMeter = {
.setValues = TasksMeter_setValues,
.display = TasksMeter_display,
......
......@@ -32,13 +32,10 @@ typedef struct TraceScreen_ {
}*/
/* private property */
static char* tbFunctions[3] = {"AutoScroll ", "Stop Tracing ", "Done "};
/* private property */
static char* tbKeys[3] = {"F4", "F5", "Esc"};
/* private property */
static int tbEvents[3] = {KEY_F(4), KEY_F(5), 27};
TraceScreen* TraceScreen_new(Process* process) {
......
......@@ -14,10 +14,10 @@ in the source distribution for its full text.
#include "debug.h"
/* private property */
static int UptimeMeter_attributes[] = { UPTIME };
int UptimeMeter_attributes[] = {
UPTIME
};
/* private */
MeterType UptimeMeter = {
.setValues = UptimeMeter_setValues,
.display = NULL,
......
......@@ -58,8 +58,7 @@ void Vector_delete(Vector* this) {
free(this);
}
/* private */
bool Vector_isConsistent(Vector* this) {
static inline bool Vector_isConsistent(Vector* this) {
if (this->owner) {
for (int i = 0; i < this->items; i++)
if (this->array[i] && this->array[i]->class != this->vectorType)
......@@ -107,8 +106,7 @@ void Vector_sort(Vector* this) {
*/
}
/* private */
void Vector_checkArraySize(Vector* this) {
static void Vector_checkArraySize(Vector* this) {
assert(Vector_isConsistent(this));
if (this->items >= this->arraySize) {
int i;
......
......@@ -33,9 +33,6 @@ in the source distribution for its full text.
#define INCSEARCH_MAX 40
/* private property */
char htop_barCharacters[] = "|#*@$%&";
void printVersionFlag() {
clear();
printf("htop " VERSION " - (C) 2004-2006 Hisham Muhammad.\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment