From: <nga...@us...> - 2008-06-22 09:22:09
|
Revision: 1187 http://conky.svn.sourceforge.net/conky/?rev=1187&view=rev Author: ngarofil Date: 2008-06-21 07:18:44 -0700 (Sat, 21 Jun 2008) Log Message: ----------- 'inline' removed from functions that are called from different files Modified Paths: -------------- trunk/conky1/src/conky.c trunk/conky1/src/linux.c trunk/conky1/src/top.c trunk/conky1/src/x11.c Modified: trunk/conky1/src/conky.c =================================================================== --- trunk/conky1/src/conky.c 2008-06-21 12:47:13 UTC (rev 1186) +++ trunk/conky1/src/conky.c 2008-06-21 14:18:44 UTC (rev 1187) @@ -708,7 +708,7 @@ } } #endif -inline void graph_append(struct special_t *graph, double f) +void graph_append(struct special_t *graph, double f) { int i; @@ -6519,7 +6519,7 @@ } /* this function returns the next colour between two colours for a gradient */ -inline unsigned long do_gradient(unsigned long first_colour, +unsigned long do_gradient(unsigned long first_colour, unsigned long last_colour) { int tmp_color = 0; @@ -6579,7 +6579,7 @@ } /* this function returns the max diff for a gradient */ -inline unsigned long gradient_max(unsigned long first_colour, +unsigned long gradient_max(unsigned long first_colour, unsigned long last_colour) { int red1, green1, blue1; // first colour Modified: trunk/conky1/src/linux.c =================================================================== --- trunk/conky1/src/linux.c 2008-06-21 12:47:13 UTC (rev 1186) +++ trunk/conky1/src/linux.c 2008-06-21 14:18:44 UTC (rev 1187) @@ -313,7 +313,7 @@ return; } -inline void update_net_stats(void) +void update_net_stats(void) { FILE *net_dev_fp; static int rep = 0; @@ -1057,7 +1057,7 @@ * Small changes by David Sterba <ste...@ss...> */ #if defined(__i386) || defined(__x86_64) -__inline__ unsigned long long int rdtsc(void) +unsigned long long int rdtsc(void) { unsigned long long int x; Modified: trunk/conky1/src/top.c =================================================================== --- trunk/conky1/src/top.c 2008-06-21 12:47:13 UTC (rev 1186) +++ trunk/conky1/src/top.c 2008-06-21 14:18:44 UTC (rev 1187) @@ -517,7 +517,7 @@ * Results are stored in the cpu,mem arrays in decreasing order[0-9]. * * ****************************************************************** */ -inline void process_find_top(struct process **cpu, struct process **mem) +void process_find_top(struct process **cpu, struct process **mem) { struct sorted_process *spc_head = NULL, *spc_tail = NULL, *spc_cur = NULL; struct sorted_process *spm_head = NULL, *spm_tail = NULL, *spm_cur = NULL; Modified: trunk/conky1/src/x11.c =================================================================== --- trunk/conky1/src/x11.c 2008-06-21 12:47:13 UTC (rev 1186) +++ trunk/conky1/src/x11.c 2008-06-21 14:18:44 UTC (rev 1187) @@ -183,7 +183,7 @@ } /* sets background to ParentRelative for the Window and all parents */ -inline void set_transparent_background(Window win) +void set_transparent_background(Window win) { static int colour_set = -1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |