From 7cf6ccee8c6b59d8aac17ab6e4673bcb69f5e8d2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 4 Apr 2011 23:35:45 +0200 Subject: Le Roi est mort, vive le Roi! The run-together words are dead! Long live the underscores! The postscript inspired naming convention of using all run-together words has served us well, but it is now time for more readable code. In this commit I have also added the sed script, rename.sed, that I used to convert the source. Use it on your patches and application code. --- draw/arch_port.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'draw/arch_port.c') diff --git a/draw/arch_port.c b/draw/arch_port.c index c7be977a..fa5890b5 100644 --- a/draw/arch_port.c +++ b/draw/arch_port.c @@ -471,7 +471,7 @@ img_1o1_32bit(byte * restrict src, byte cov, int len, byte * restrict dst, void fz_accelerate(void) { - if (sizeof(int) == 4 && sizeof(unsigned int) == 4 && !fz_isbigendian()) + if (sizeof(int) == 4 && sizeof(unsigned int) == 4 && !fz_is_big_endian()) { // fz_path_w4i1o4 = path_w4i1o4_32bit; // fz_text_w4i1o4 = text_w4i1o4_32bit; @@ -481,6 +481,6 @@ void fz_accelerate(void) } #ifdef HAVE_CPUDEP - fz_acceleratearch(); + fz_accelerate_arch(); #endif } -- cgit v1.2.3