diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2011-01-06 18:35:54 +0000 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2011-01-06 18:35:54 +0000 |
commit | 95d9c93d148c6b8e24a93f01a196e6b76cd61318 (patch) | |
tree | 5d367a347548d9ebe33b1f23f78b35945ae64435 /fitz | |
parent | 7ca83a51c13bf8dac303f6e5a3ea80d01fe985de (diff) | |
download | mupdf-95d9c93d148c6b8e24a93f01a196e6b76cd61318.tar.xz |
Make several functions static, removing them from the public interface.
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/crypt_arc4.c | 2 | ||||
-rw-r--r-- | fitz/fitz.h | 3 | ||||
-rw-r--r-- | fitz/obj_print.c | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/fitz/crypt_arc4.c b/fitz/crypt_arc4.c index 791e5ee9..1db8a132 100644 --- a/fitz/crypt_arc4.c +++ b/fitz/crypt_arc4.c @@ -61,7 +61,7 @@ fz_arc4init(fz_arc4 *arc4, const unsigned char *key, const unsigned keylen) } } -unsigned char +static unsigned char fz_arc4next(fz_arc4 *arc4) { unsigned int x; diff --git a/fitz/fitz.h b/fitz/fitz.h index ca849f1d..64a0cd36 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -295,7 +295,6 @@ struct fz_arc4_s }; void fz_arc4init(fz_arc4 *state, const unsigned char *key, const unsigned len); -unsigned char fz_arc4next(fz_arc4 *state); void fz_arc4encrypt(fz_arc4 *state, unsigned char *dest, const unsigned char *src, const unsigned len); /* AES block cipher implementation from XYSSL */ @@ -441,7 +440,6 @@ void fz_dictdel(fz_obj *dict, fz_obj *key); void fz_dictdels(fz_obj *dict, char *key); void fz_sortdict(fz_obj *dict); -int fz_sprintobj(char *s, int n, fz_obj *obj, int tight); int fz_fprintobj(FILE *fp, fz_obj *obj, int tight); void fz_debugobj(fz_obj *obj); void fz_debugref(fz_obj *obj); @@ -1093,7 +1091,6 @@ void fz_unpacktile(fz_pixmap *dst, unsigned char * restrict src, int n, int dept void fz_paintspan(unsigned char * restrict dp, unsigned char * restrict sp, int n, int w, int alpha); void fz_paintspancolor(unsigned char * restrict dp, unsigned char * restrict mp, int n, int w, unsigned char *color); -void fz_paintspanmask(unsigned char * restrict dp, unsigned char * restrict sp, unsigned char * restrict mp, int n, int w); void fz_paintaffinecolor(unsigned char *dp, unsigned char *sp, int sw, int sh, int u, int v, int fa, int fb, int w, int n, unsigned char *color); diff --git a/fitz/obj_print.c b/fitz/obj_print.c index a6ef73e2..4233b80f 100644 --- a/fitz/obj_print.c +++ b/fitz/obj_print.c @@ -273,7 +273,7 @@ static void fmtobj(struct fmt *fmt, fz_obj *obj) fmtputs(fmt, "<unknown object>"); } -int +static int fz_sprintobj(char *s, int n, fz_obj *obj, int tight) { struct fmt fmt; |