[Pkg-wmaker-commits] [wmtop] 07/11: wmtop: Remove inline keywords.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Feb 8 15:03:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmtop.
commit 10854a69224ee437ed915555364ce8377edf8488
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Sun Feb 7 21:36:22 2016 -0500
wmtop: Remove inline keywords.
Otherwise, build fails with "error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘void’" if using ANSI C.
---
wmtop.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/wmtop.c b/wmtop.c
index 3585a0d..9125ffc 100644
--- a/wmtop.c
+++ b/wmtop.c
@@ -258,7 +258,7 @@ int update_process_table(void);
int calculate_cpu(struct process *);
void process_cleanup(void);
void delete_process(struct process *);
-inline void draw_processes(void);
+void draw_processes(void);
int calc_cpu_total(void);
void calc_cpu_each(int);
#if defined(LINUX)
@@ -267,9 +267,9 @@ void calc_mem_each(int);
#endif
int process_find_top_three(struct process **);
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);
-inline void printversion(void);
+void printversion(void);
/******************************************/
/* Main */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmtop.git
More information about the Pkg-wmaker-commits
mailing list