diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2017-11-13 16:14:46 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2017-11-16 00:35:08 +0200 |
commit | c8e9c5d684f1ba15ca46e38493c995ad5be3646c (patch) | |
tree | 7f4f419f536f6dc71f24c0438429a17b8e0a9a55 | |
parent | ac8a1aad8b5c9db2591ac0a9bf31ca92c64f854c (diff) | |
download | fribidi-c8e9c5d684f1ba15ca46e38493c995ad5be3646c.tar.gz |
FRIBIDI_CHUNK_SIZE is not used anywhere
-rw-r--r-- | lib/common.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/common.h b/lib/common.h index d8395c3..816587a 100644 --- a/lib/common.h +++ b/lib/common.h @@ -88,23 +88,6 @@ # include <strings.h> #endif -/* FRIBIDI_CHUNK_SIZE is the number of bytes in each chunk of memory being - * allocated for data structure pools. */ -#ifndef FRIBIDI_CHUNK_SIZE -# if HAVE_ASM_PAGE_H -# ifndef __FRIBIDI_DOC -# include <asm/page.h> -# endif /* __FRIBIDI_DOC */ -# define FRIBIDI_CHUNK_SIZE (PAGE_SIZE - 16) -# else /* !HAVE_ASM_PAGE_H */ -# define FRIBIDI_CHUNK_SIZE (4096 - 16) -# endif /* !HAVE_ASM_PAGE_H */ -#else /* FRIBIDI_CHUNK_SIZE */ -# if FRIBIDI_CHUNK_SIZE < 256 -# error "FRIBIDI_CHUNK_SIZE now should define the size of a chunk in bytes." -# endif /* FRIBIDI_CHUNK_SIZE < 256 */ -#endif /* FRIBIDI_CHUNK_SIZE */ - /* FRIBIDI_BEGIN_STMT should be used at the beginning of your macro * definitions that are to behave like simple statements. Use * FRIBIDI_END_STMT at the end of the macro after the semicolon or brace. */ |