From 2de1840b393a33ebdaa746d81f0ffd7dbc0caf22 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 22 Dec 2008 17:55:21 +0100 Subject: [PATCH] move and add function prototypes to src/conky.c --- src/conky.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/conky.c b/src/conky.c index 23c810da..f59c2669 100644 --- a/src/conky.c +++ b/src/conky.c @@ -138,6 +138,10 @@ static void signal_handler(int); static void print_version(void) __attribute__((noreturn)); static void reload_config(void); static void clean_up(void); +static void generate_text_internal(char *, int, struct text_object, + struct information *); +static int extract_variable_text_internal(struct text_object *, + const char *, char); static void print_version(void) { @@ -1154,9 +1158,6 @@ static void human_readable(long long num, char *buf, int size) /* global object list root element */ static struct text_object global_root_object; -static void generate_text_internal(char *p, int p_max_size, - struct text_object text_object, struct information *cur); - static inline void read_exec(const char *data, char *buf, const int size) { FILE *fp = popen(data, "r");