mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
'inline' removed from functions that are called from different files
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1187 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
54120a3d83
commit
c1c34ae443
@ -708,7 +708,7 @@ static void new_font(char *buf, char *args)
|
||||
}
|
||||
}
|
||||
#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 @@ void set_up_gradient(void)
|
||||
}
|
||||
|
||||
/* 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 @@ inline unsigned long do_gradient(unsigned long first_colour,
|
||||
}
|
||||
|
||||
/* 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
|
||||
|
@ -313,7 +313,7 @@ void update_gateway_info(void)
|
||||
return;
|
||||
}
|
||||
|
||||
inline void update_net_stats(void)
|
||||
void update_net_stats(void)
|
||||
{
|
||||
FILE *net_dev_fp;
|
||||
static int rep = 0;
|
||||
@ -1057,7 +1057,7 @@ void get_adt746x_cpu(char *p_client_buffer, size_t client_buffer_size)
|
||||
* Small changes by David Sterba <sterd9am@ss1000.ms.mff.cuni.cz> */
|
||||
|
||||
#if defined(__i386) || defined(__x86_64)
|
||||
__inline__ unsigned long long int rdtsc(void)
|
||||
unsigned long long int rdtsc(void)
|
||||
{
|
||||
unsigned long long int x;
|
||||
|
||||
|
@ -517,7 +517,7 @@ void sp_acopy(struct sorted_process *sp_head, struct process **ar, int max_size)
|
||||
* 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;
|
||||
|
@ -183,7 +183,7 @@ static Window find_desktop_window(Window *p_root, Window *p_desktop)
|
||||
}
|
||||
|
||||
/* 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user