diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-07-06 01:40:31 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-07-06 01:40:31 +0200 |
commit | 270a50ae98b1efeee17ba745c4ccf0eba52a4a0c (patch) | |
tree | 5908b12ef05e137b8f49255a3e867cf47d869ad7 /fitz | |
parent | 1f20476bfb0d4270fa54829e97623dac29f030c9 (diff) | |
download | mupdf-270a50ae98b1efeee17ba745c4ccf0eba52a4a0c.tar.xz |
Declare functions void if they take no arguments.
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/fitz_base.h | 2 | ||||
-rw-r--r-- | fitz/fitz_draw.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fitz/fitz_base.h b/fitz/fitz_base.h index d692c969..9c89c4fa 100644 --- a/fitz/fitz_base.h +++ b/fitz/fitz_base.h @@ -108,7 +108,7 @@ extern int gettimeofday(struct timeval *tv, struct timezone *tz); #endif /* call this before using fitz */ -extern void fz_cpudetect(); +extern void fz_cpudetect(void); /* treat as constant! */ extern unsigned fz_cpuflags; diff --git a/fitz/fitz_draw.h b/fitz/fitz_draw.h index f07d31ab..60eeafe2 100644 --- a/fitz/fitz_draw.h +++ b/fitz/fitz_draw.h @@ -129,7 +129,7 @@ struct fz_renderer_s int flag; }; -extern void fz_accelerate(); +extern void fz_accelerate(void); fz_error fz_newrenderer(fz_renderer **gcp, fz_colorspace *pcm, int maskonly, int gcmem); void fz_droprenderer(fz_renderer *gc); |