wmtop: Remove inline keywords.

Otherwise, build fails with "error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘void’" if using ANSI C.
This commit is contained in:
Doug Torrance 2016-02-07 21:36:22 -05:00 committed by Carlos R. Mafra
parent 62174abc69
commit 9450f4cfd2

View file

@ -258,7 +258,7 @@ int update_process_table(void);
int calculate_cpu(struct process *); int calculate_cpu(struct process *);
void process_cleanup(void); void process_cleanup(void);
void delete_process(struct process *); void delete_process(struct process *);
inline void draw_processes(void); void draw_processes(void);
int calc_cpu_total(void); int calc_cpu_total(void);
void calc_cpu_each(int); void calc_cpu_each(int);
#if defined(LINUX) #if defined(LINUX)
@ -267,9 +267,9 @@ void calc_mem_each(int);
#endif #endif
int process_find_top_three(struct process **); int process_find_top_three(struct process **);
void draw_bar(int, int, int, int, float, int, int); void draw_bar(int, int, int, int, float, int, int);
inline void blit_string(char *, int, int); void blit_string(char *, int, int);
void usage(void); void usage(void);
inline void printversion(void); void printversion(void);
/******************************************/ /******************************************/
/* Main */ /* Main */