aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorJason Woodward2012-06-26 01:58:04 +0000
committerJason Woodward2012-06-26 01:58:41 +0000
commitf9ad0aab997785b1bb0348f8ea9f1e9b5f0989f2 (patch)
tree910038026fd024bee9bd7bd2f5cdc727f986539b /src/common.h
parent7ab7414bae56ee0646c6836990e9725ad95ee86e (diff)
downloadslapt-get-f9ad0aab997785b1bb0348f8ea9f1e9b5f0989f2.tar.gz
remove __inline attributes for various functions as they clash with c99
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index eaa068a..3c29153 100644
--- a/src/common.h
+++ b/src/common.h
@@ -70,8 +70,8 @@ void slapt_gen_md5_sum_of_file(FILE *f,char *result_sum);
int slapt_ask_yes_no(const char *format, ...);
char *slapt_str_replace_chr(const char *string,const char find,
const char replace);
-__inline void *slapt_malloc(size_t s);
-__inline void *slapt_calloc(size_t n,size_t s);
+void *slapt_malloc(size_t s);
+void *slapt_calloc(size_t n,size_t s);
/* return human readable error */
const char *slapt_strerror(slapt_code_t code);