diff options
44 files changed, 257 insertions, 257 deletions
@@ -37,19 +37,19 @@ typedef struct State_ { } State; -extern Object* Action_pickFromVector(State* st, Panel* list, int x, bool followProcess); +Object* Action_pickFromVector(State* st, Panel* list, int x, bool followProcess); // ---------------------------------------- -extern bool Action_setUserOnly(const char* userName, uid_t* userId); +bool Action_setUserOnly(const char* userName, uid_t* userId); -extern Htop_Reaction Action_setSortKey(Settings* settings, ProcessField sortKey); +Htop_Reaction Action_setSortKey(Settings* settings, ProcessField sortKey); // ---------------------------------------- -extern Htop_Reaction Action_follow(State* st); +Htop_Reaction Action_follow(State* st); -extern void Action_setBindings(Htop_Action* keys); +void Action_setBindings(Htop_Action* keys); #endif @@ -28,23 +28,23 @@ typedef struct Affinity_ { } Affinity; -extern Affinity* Affinity_new(ProcessList* pl); +Affinity* Affinity_new(ProcessList* pl); -extern void Affinity_delete(Affinity* this); +void Affinity_delete(Affinity* this); -extern void Affinity_add(Affinity* this, int id); +void Affinity_add(Affinity* this, int id); #ifdef HAVE_LIBHWLOC -extern Affinity* Affinity_get(Process* proc, ProcessList* pl); +Affinity* Affinity_get(Process* proc, ProcessList* pl); -extern bool Affinity_set(Process* proc, Arg arg); +bool Affinity_set(Process* proc, Arg arg); #elif HAVE_LINUX_AFFINITY -extern Affinity* Affinity_get(Process* proc, ProcessList* pl); +Affinity* Affinity_get(Process* proc, ProcessList* pl); -extern bool Affinity_set(Process* proc, Arg arg); +bool Affinity_set(Process* proc, Arg arg); #endif diff --git a/AffinityPanel.h b/AffinityPanel.h index 64ee32ad..f6ed350d 100644 --- a/AffinityPanel.h +++ b/AffinityPanel.h @@ -31,8 +31,8 @@ in the source distribution for its full text. extern PanelClass AffinityPanel_class; -extern Panel* AffinityPanel_new(ProcessList* pl, Affinity* affinity, int* width); +Panel* AffinityPanel_new(ProcessList* pl, Affinity* affinity, int* width); -extern Affinity* AffinityPanel_getAffinity(Panel* super, ProcessList* pl); +Affinity* AffinityPanel_getAffinity(Panel* super, ProcessList* pl); #endif diff --git a/AvailableColumnsPanel.h b/AvailableColumnsPanel.h index fc3cb219..ad70fbbb 100644 --- a/AvailableColumnsPanel.h +++ b/AvailableColumnsPanel.h @@ -17,6 +17,6 @@ typedef struct AvailableColumnsPanel_ { extern PanelClass AvailableColumnsPanel_class; -extern AvailableColumnsPanel* AvailableColumnsPanel_new(Panel* columns); +AvailableColumnsPanel* AvailableColumnsPanel_new(Panel* columns); #endif diff --git a/AvailableMetersPanel.h b/AvailableMetersPanel.h index b2de6719..93db0dac 100644 --- a/AvailableMetersPanel.h +++ b/AvailableMetersPanel.h @@ -25,6 +25,6 @@ typedef struct AvailableMetersPanel_ { extern PanelClass AvailableMetersPanel_class; -extern AvailableMetersPanel* AvailableMetersPanel_new(Settings* settings, Header* header, Panel* leftMeters, Panel* rightMeters, ScreenManager* scr, ProcessList* pl); +AvailableMetersPanel* AvailableMetersPanel_new(Settings* settings, Header* header, Panel* leftMeters, Panel* rightMeters, ScreenManager* scr, ProcessList* pl); #endif @@ -127,9 +127,9 @@ typedef enum ColorElements_ { LAST_COLORELEMENT } ColorElements; -extern void CRT_fatalError(const char* note) __attribute__ ((noreturn)); +void CRT_fatalError(const char* note) __attribute__ ((noreturn)); -extern void CRT_handleSIGSEGV(int sgn); +void CRT_handleSIGSEGV(int sgn); #define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A')) @@ -170,9 +170,9 @@ extern void *backtraceArray[128]; #define DIE(msg) do { CRT_done(); fprintf(stderr, msg); exit(1); } while(0) -extern void CRT_dropPrivileges(); +void CRT_dropPrivileges(); -extern void CRT_restorePrivileges(); +void CRT_restorePrivileges(); #else @@ -187,18 +187,18 @@ extern void CRT_restorePrivileges(); // TODO: pass an instance of Settings instead. -extern void CRT_init(int delay, int colorScheme, bool allowUnicode); +void CRT_init(int delay, int colorScheme, bool allowUnicode); -extern void CRT_done(); +void CRT_done(); -extern void CRT_fatalError(const char* note); +void CRT_fatalError(const char* note); -extern int CRT_readKey(); +int CRT_readKey(); -extern void CRT_disableDelay(); +void CRT_disableDelay(); -extern void CRT_enableDelay(); +void CRT_enableDelay(); -extern void CRT_setColors(int colorScheme); +void CRT_setColors(int colorScheme); #endif diff --git a/CategoriesPanel.h b/CategoriesPanel.h index dd637e7a..e6c7026d 100644 --- a/CategoriesPanel.h +++ b/CategoriesPanel.h @@ -22,10 +22,10 @@ typedef struct CategoriesPanel_ { } CategoriesPanel; -extern void CategoriesPanel_makeMetersPage(CategoriesPanel* this); +void CategoriesPanel_makeMetersPage(CategoriesPanel* this); extern PanelClass CategoriesPanel_class; -extern CategoriesPanel* CategoriesPanel_new(ScreenManager* scr, Settings* settings, Header* header, ProcessList* pl); +CategoriesPanel* CategoriesPanel_new(ScreenManager* scr, Settings* settings, Header* header, ProcessList* pl); #endif diff --git a/CheckItem.h b/CheckItem.h index f59cc78e..654c21f4 100644 --- a/CheckItem.h +++ b/CheckItem.h @@ -19,12 +19,12 @@ typedef struct CheckItem_ { extern ObjectClass CheckItem_class; -extern CheckItem* CheckItem_newByRef(char* text, bool* ref); +CheckItem* CheckItem_newByRef(char* text, bool* ref); -extern CheckItem* CheckItem_newByVal(char* text, bool value); +CheckItem* CheckItem_newByVal(char* text, bool value); -extern void CheckItem_set(CheckItem* this, bool value); +void CheckItem_set(CheckItem* this, bool value); -extern bool CheckItem_get(CheckItem* this); +bool CheckItem_get(CheckItem* this); #endif diff --git a/ColorsPanel.h b/ColorsPanel.h index 337a7f43..96a82a42 100644 --- a/ColorsPanel.h +++ b/ColorsPanel.h @@ -27,6 +27,6 @@ typedef struct ColorsPanel_ { extern PanelClass ColorsPanel_class; -extern ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr); +ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr); #endif diff --git a/ColumnsPanel.h b/ColumnsPanel.h index e3d4bcb9..89f500ab 100644 --- a/ColumnsPanel.h +++ b/ColumnsPanel.h @@ -20,10 +20,10 @@ typedef struct ColumnsPanel_ { extern PanelClass ColumnsPanel_class; -extern ColumnsPanel* ColumnsPanel_new(Settings* settings); +ColumnsPanel* ColumnsPanel_new(Settings* settings); -extern int ColumnsPanel_fieldNameToIndex(const char* name); +int ColumnsPanel_fieldNameToIndex(const char* name); -extern void ColumnsPanel_update(Panel* super); +void ColumnsPanel_update(Panel* super); #endif diff --git a/DisplayOptionsPanel.h b/DisplayOptionsPanel.h index b3830541..69b8a3d5 100644 --- a/DisplayOptionsPanel.h +++ b/DisplayOptionsPanel.h @@ -21,6 +21,6 @@ typedef struct DisplayOptionsPanel_ { extern PanelClass DisplayOptionsPanel_class; -extern DisplayOptionsPanel* DisplayOptionsPanel_new(Settings* settings, ScreenManager* scr); +DisplayOptionsPanel* DisplayOptionsPanel_new(Settings* settings, ScreenManager* scr); #endif diff --git a/EnvScreen.h b/EnvScreen.h index 15f7acaa..54dfa41a 100644 --- a/EnvScreen.h +++ b/EnvScreen.h @@ -9,12 +9,12 @@ typedef struct EnvScreen_ { extern InfoScreenClass EnvScreen_class; -extern EnvScreen* EnvScreen_new(Process* process); +EnvScreen* EnvScreen_new(Process* process); -extern void EnvScreen_delete(Object* this); +void EnvScreen_delete(Object* this); -extern void EnvScreen_draw(InfoScreen* this); +void EnvScreen_draw(InfoScreen* this); -extern void EnvScreen_scan(InfoScreen* this); +void EnvScreen_scan(InfoScreen* this); #endif diff --git a/FunctionBar.h b/FunctionBar.h index 09652e8b..8971d1a5 100644 --- a/FunctionBar.h +++ b/FunctionBar.h @@ -20,18 +20,18 @@ typedef struct FunctionBar_ { -extern FunctionBar* FunctionBar_newEnterEsc(const char* enter, const char* esc); +FunctionBar* FunctionBar_newEnterEsc(const char* enter, const char* esc); -extern FunctionBar* FunctionBar_new(const char* const* functions, const char* const* keys, const int* events); +FunctionBar* FunctionBar_new(const char* const* functions, const char* const* keys, const int* events); -extern void FunctionBar_delete(FunctionBar* this); +void FunctionBar_delete(FunctionBar* this); -extern void FunctionBar_setLabel(FunctionBar* this, int event, const char* text); +void FunctionBar_setLabel(FunctionBar* this, int event, const char* text); -extern void FunctionBar_draw(const FunctionBar* this, char* buffer); +void FunctionBar_draw(const FunctionBar* this, char* buffer); -extern void FunctionBar_drawAttr(const FunctionBar* this, char* buffer, int attr); +void FunctionBar_drawAttr(const FunctionBar* this, char* buffer, int attr); -extern int FunctionBar_synthesizeEvent(const FunctionBar* this, int pos); +int FunctionBar_synthesizeEvent(const FunctionBar* this, int pos); #endif diff --git a/Hashtable.h b/Hashtable.h index 651f1648..144f01cf 100644 --- a/Hashtable.h +++ b/Hashtable.h @@ -28,20 +28,20 @@ struct Hashtable_ { #ifdef DEBUG -extern int Hashtable_count(Hashtable* this); +int Hashtable_count(Hashtable* this); #endif -extern Hashtable* Hashtable_new(int size, bool owner); +Hashtable* Hashtable_new(int size, bool owner); -extern void Hashtable_delete(Hashtable* this); +void Hashtable_delete(Hashtable* this); -extern void Hashtable_put(Hashtable* this, unsigned int key, void* value); +void Hashtable_put(Hashtable* this, unsigned int key, void* value); -extern void* Hashtable_remove(Hashtable* this, unsigned int key); +void* Hashtable_remove(Hashtable* this, unsigned int key); -extern void* Hashtable_get(Hashtable* this, unsigned int key); +void* Hashtable_get(Hashtable* this, unsigned int key); -extern void Hashtable_foreach(Hashtable* this, Hashtable_PairFunction f, void* userData); +void Hashtable_foreach(Hashtable* this, Hashtable_PairFunction f, void* userData); #endif @@ -29,30 +29,30 @@ typedef struct Header_ { #define Header_forEachColumn(this_, i_) for (int (i_)=0; (i_) < (this_)->nrColumns; ++(i_)) #endif -extern Header* Header_new(struct ProcessList_* pl, Settings* settings, int nrColumns); +Header* Header_new(struct ProcessList_* pl, Settings* settings, int nrColumns); -extern void Header_delete(Header* this); +void Header_delete(Header* this); -extern void Header_populateFromSettings(Header* this); +void Header_populateFromSettings(Header* this); -extern void Header_writeBackToSettings(const Header* this); +void Header_writeBackToSettings(const Header* this); -extern MeterModeId Header_addMeterByName(Header* this, char* name, int column); +MeterModeId Header_addMeterByName(Header* this, char* name, int column); -extern void Header_setMode(Header* this, int i, MeterModeId mode, int column); +void Header_setMode(Header* this, int i, MeterModeId mode, int column); -extern Meter* Header_addMeterByClass(Header* this, MeterClass* type, int param, int column); +Meter* Header_addMeterByClass(Header* this, MeterClass* type, int param, int column); -extern int Header_size(Header* this, int column); +int Header_size(Header* this, int column); -extern char* Header_readMeterName(Header* this, int i, int column); +char* Header_readMeterName(Header* this, int i, int column); -extern MeterModeId Header_readMeterMode(Header* this, int i, int column); +MeterModeId Header_readMeterMode(Header* this, int i, int column); -extern void Header_reinit(Header* this); +void Header_reinit(Header* this); -extern void Header_draw(const Header* this); +void Header_draw(const Header* this); -extern int Header_calculateHeight(Header* this); +int Header_calculateHeight(Header* this); #endif @@ -39,24 +39,24 @@ typedef struct IncSet_ { typedef const char* (*IncMode_GetPanelValue)(Panel*, int); -extern void IncSet_reset(IncSet* this, IncType type); +void IncSet_reset(IncSet* this, IncType type); -extern IncSet* IncSet_new(FunctionBar* bar); +IncSet* IncSet_new(FunctionBar* bar); -extern void IncSet_delete(IncSet* this); +void IncSet_delete(IncSet* this); -extern bool IncSet_next(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); +bool IncSet_next(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); -extern bool IncSet_prev(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); +bool IncSet_prev(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); -extern bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue getPanelValue, Vector* lines); +bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue getPanelValue, Vector* lines); -extern const char* IncSet_getListItemValue(Panel* panel, int i); +const char* IncSet_getListItemValue(Panel* panel, int i); -extern void IncSet_activate(IncSet* this, IncType type, Panel* panel); +void IncSet_activate(IncSet* this, IncType type, Panel* panel); -extern void IncSet_drawBar(IncSet* this); +void IncSet_drawBar(IncSet* this); -extern int IncSet_synthesizeEvent(IncSet* this, int x); +int IncSet_synthesizeEvent(IncSet* this, int x); #endif diff --git a/InfoScreen.h b/InfoScreen.h index b59527f3..93665c1d 100644 --- a/InfoScreen.h +++ b/InfoScreen.h @@ -36,16 +36,16 @@ struct InfoScreen_ { Vector* lines; }; -extern InfoScreen* InfoScreen_init(InfoScreen* this, Process* process, FunctionBar* bar, int height, const char* panelHeader); +InfoScreen* InfoScreen_init(InfoScreen* this, Process* process, FunctionBar* bar, int height, const char* panelHeader); -extern InfoScreen* InfoScreen_done(InfoScreen* this); +InfoScreen* InfoScreen_done(InfoScreen* this); -extern void InfoScreen_drawTitled(InfoScreen* this, const char* fmt, ...); +void InfoScreen_drawTitled(InfoScreen* this, const char* fmt, ...); -extern void InfoScreen_addLine(InfoScreen* this, const char* line); +void InfoScreen_addLine(InfoScreen* this, const char* line); -extern void InfoScreen_appendLine(InfoScreen* this, const char* line); +void InfoScreen_appendLine(InfoScreen* this, const char* line); -extern void InfoScreen_run(InfoScreen* this); +void InfoScreen_run(InfoScreen* this); #endif @@ -19,12 +19,12 @@ typedef struct ListItem_ { extern ObjectClass ListItem_class; -extern ListItem* ListItem_new(const char* value, int key); +ListItem* ListItem_new(const char* value, int key); -extern void ListItem_append(ListItem* this, const char* text); +void ListItem_append(ListItem* this, const char* text); -extern const char* ListItem_getRef(ListItem* this); +const char* ListItem_getRef(ListItem* this); -extern long ListItem_compare(const void* cast1, const void* cast2); +long ListItem_compare(const void* cast1, const void* cast2); #endif diff --git a/MainPanel.h b/MainPanel.h index cf46a4ee..321f130c 100644 --- a/MainPanel.h +++ b/MainPanel.h @@ -25,22 +25,22 @@ typedef bool(*MainPanel_ForeachProcessFn)(Process*, Arg); #define MainPanel_getFunctionBar(this_) (((Panel*)(this_))->defaultBar) -extern void MainPanel_updateTreeFunctions(MainPanel* this, bool mode); +void MainPanel_updateTreeFunctions(MainPanel* this, bool mode); -extern void MainPanel_pidSearch(MainPanel* this, int ch); +void MainPanel_pidSearch(MainPanel* this, int ch); -extern int MainPanel_selectedPid(MainPanel* this); +int MainPanel_selectedPid(MainPanel* this); -extern const char* MainPanel_getValue(MainPanel* this, int i); +const char* MainPanel_getValue(MainPanel* this, int i); -extern bool MainPanel_foreachProcess(MainPanel* this, MainPanel_ForeachProcessFn fn, Arg arg, bool* wasAnyTagged); +bool MainPanel_foreachProcess(MainPanel* this, MainPanel_ForeachProcessFn fn, Arg arg, bool* wasAnyTagged); extern PanelClass MainPanel_class; -extern MainPanel* MainPanel_new(); +MainPanel* MainPanel_new(); -extern void MainPanel_setState(MainPanel* this, State* state); +void MainPanel_setState(MainPanel* this, State* state); -extern void MainPanel_delete(Object* object); +void MainPanel_delete(Object* object); #endif @@ -107,17 +107,17 @@ typedef struct GraphData_ { extern MeterClass Meter_class; -extern Meter* Meter_new(struct ProcessList_* pl, int param, MeterClass* type); +Meter* Meter_new(struct ProcessList_* pl, int param, MeterClass* type); -extern int Meter_humanUnit(char* buffer, unsigned long int value, int size); +int Meter_humanUnit(char* buffer, unsigned long int value, int size); -extern void Meter_delete(Object* cast); +void Meter_delete(Object* cast); -extern void Meter_setCaption(Meter* this, const char* caption); +void Meter_setCaption(Meter* this, const char* caption); -extern void Meter_setMode(Meter* this, int modeIndex); +void Meter_setMode(Meter* this, int modeIndex); -extern ListItem* Meter_toListItem(Meter* this, bool moving); +ListItem* Meter_toListItem(Meter* this, bool moving); /* ---------- TextMeterMode ---------- */ diff --git a/MetersPanel.h b/MetersPanel.h index 111d6ef3..bea9238d 100644 --- a/MetersPanel.h +++ b/MetersPanel.h @@ -32,10 +32,10 @@ struct MetersPanel_ { // In <http://unicode.org/reports/tr11/>, arrows (U+2019..U+2199) are // considered "Ambiguous characters". -extern void MetersPanel_setMoving(MetersPanel* this, bool moving); +void MetersPanel_setMoving(MetersPanel* this, bool moving); extern PanelClass MetersPanel_class; -extern MetersPanel* MetersPanel_new(Settings* settings, const char* header, Vector* meters, ScreenManager* scr); +MetersPanel* MetersPanel_new(Settings* settings, const char* header, Vector* meters, ScreenManager* scr); #endif @@ -50,7 +50,7 @@ extern ObjectClass Object_class; #ifdef DEBUG -extern bool Object_isA(Object* o, const ObjectClass* klass); +bool Object_isA(Object* o, const ObjectClass* klass); #endif diff --git a/OpenFilesScreen.h b/OpenFilesScreen.h index 5f4d3574..9fc1216b 100644 --- a/OpenFilesScreen.h +++ b/OpenFilesScreen.h @@ -32,12 +32,12 @@ typedef struct OpenFilesScreen_ { extern InfoScreenClass OpenFilesScreen_class; -extern OpenFilesScreen* OpenFilesScreen_new(Process* process); +OpenFilesScreen* OpenFilesScreen_new(Process* process); -extern void OpenFilesScreen_delete(Object* this); +void OpenFilesScreen_delete(Object* this); -extern void OpenFilesScreen_draw(InfoScreen* this); +void OpenFilesScreen_draw(InfoScreen* this); -extern void OpenFilesScreen_scan(InfoScreen* this); +void OpenFilesScreen_scan(InfoScreen* this); #endif @@ -73,54 +73,54 @@ struct Panel_ { extern PanelClass Panel_class; -extern Panel* Panel_new(int x, int y, int w, int h, bool owner, ObjectClass* type, FunctionBar* fuBar); +Panel* Panel_new(int x, int y, int w, int h, bool owner, ObjectClass* type, FunctionBar* fuBar); -extern void Panel_delete(Object* cast); +void Panel_delete(Object* cast); -extern void Panel_init(Panel* this, int x, int y, int w, int h, ObjectClass* type, bool owner, FunctionBar* fuBar); +void Panel_init(Panel* this, int x, int y, int w, int h, ObjectClass* type, bool owner, FunctionBar* fuBar); -extern void Panel_done(Panel* this); +void Panel_done(Panel* this); -extern void Panel_setSelectionColor(Panel* this, int color); +void Panel_setSelectionColor(Panel* this, int color); -extern RichString* Panel_getHeader(Panel* this); +RichString* Panel_getHeader(Panel* this); -extern void Panel_setHeader(Panel* this, const char* header); +void Panel_setHeader(Panel* this, const char* header); -extern void Panel_move(Panel* this, int x, int y); +void Panel_move(Panel* this, int x, int y); -extern void Panel_resize(Panel* this, int w, int h); +void Panel_resize(Panel* this, int w, int h); -extern void Panel_prune(Panel* this); +void Panel_prune(Panel* this); -extern void Panel_add(Panel* this, Object* o); +void Panel_add(Panel* this, Object* o); -extern void Panel_insert(Panel* this, int i, Object* o); +void Panel_insert(Panel* this, int i, Object* o); -extern void Panel_set(Panel* this, int i, Object* o); +void Panel_set(Panel* this, int i, Object* o); -extern Object* Panel_get(Panel* this, int i); +Object* Panel_get(Panel* this, int i); -extern Object* Panel_remove(Panel* this, int i); +Object* Panel_remove(Panel* this, int i); -extern Object* Panel_getSelected(Panel* this); +Object* Panel_getSelected(Panel* this); -extern void Panel_moveSelectedUp(Panel* this); +void Panel_moveSelectedUp(Panel* this); -extern void Panel_moveSelectedDown(Panel* this); +void Panel_moveSelectedDown(Panel* this); -extern int Panel_getSelectedIndex(Panel* this); +int Panel_getSelectedIndex(Panel* this); -extern int Panel_size(Panel* this); +int Panel_size(Panel* this); -extern void Panel_setSelected(Panel* this, int selected); +void Panel_setSelected(Panel* this, int selected); -extern void Panel_draw(Panel* this, bool focus); +void Panel_draw(Panel* this, bool focus); -extern void Panel_splice(Panel *this, Vector* from); +void Panel_splice(Panel *this, Vector* from); -extern bool Panel_onKey(Panel* this, int key); +bool Panel_onKey(Panel* this, int key); -extern HandlerResult Panel_selectByTyping(Panel* this, int ch); +HandlerResult Panel_selectByTyping(Panel* this, int ch); #endif @@ -173,36 +173,36 @@ typedef struct ProcessClass_ { extern char Process_pidFormat[20]; -extern void Process_setupColumnWidths(); +void Process_setupColumnWidths(); -extern void Process_humanNumber(RichString* str, unsigned long number, bool coloring); +void Process_humanNumber(RichString* str, unsigned long number, bool coloring); -extern void Process_colorNumber(RichString* str, unsigned long long number, bool coloring); +void Process_colorNumber(RichString* str, unsigned long long number, bool coloring); -extern void Process_printTime(RichString* str, unsigned long long totalHundredths); +void Process_printTime(RichString* str, unsigned long long totalHundredths); -extern void Process_outputRate(RichString* str, char* buffer, int n, double rate, int coloring); +void Process_outputRate(RichString* str, char* buffer, int n, double rate, int coloring); -extern void Process_writeField(Process* this, RichString* str, ProcessField field); +void Process_writeField(Process* this, RichString* str, ProcessField field); -extern void Process_display(Object* cast, RichString* out); +void Process_display(Object* cast, RichString* out); -extern void Process_done(Process* this); +void Process_done(Process* this); extern ProcessClass Process_class; -extern void Process_init(Process* this, struct Settings_* settings); +void Process_init(Process* this, struct Settings_* settings); -extern void Process_toggleTag(Process* this); +void Process_toggleTag(Process* this); -extern bool Process_setPriority(Process* this, int priority); +bool Process_setPriority(Process* this, int priority); -extern bool Process_changePriorityBy(Process* this, Arg delta); +bool Process_changePriorityBy(Process* this, Arg delta); -extern bool Process_sendSignal(Process* this, Arg sgn); +bool Process_sendSignal(Process* this, Arg sgn); -extern long Process_pidCompare(const void* v1, const void* v2); +long Process_pidCompare(const void* v1, const void* v2); -extern long Process_compare(const void* v1, const void* v2); +long Process_compare(const void* v1, const void* v2); #endif diff --git a/ProcessList.h b/ProcessList.h index 1a4170c0..73f6c687 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -69,32 +69,32 @@ void ProcessList_delete(ProcessList* pl); void ProcessList_goThroughEntries(ProcessList* pl); |