summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-10-31 16:03:29 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-10-31 16:03:29 +0000
commit60fa0fcfd1446e404ea434e47fe8c4e6dc75be35 (patch)
tree22d7edb5c4e4ed7f5d04307297972bc6e0c729d0 /modules
parent481f268a29a4ae8746b9c89685ec827afcfd42f1 (diff)
downloadpango-60fa0fcfd1446e404ea434e47fe8c4e6dc75be35.tar.gz
Make a number of functions static to avoid symbol clashes when both
Wed Oct 31 11:00:55 2001 Owen Taylor <otaylor@redhat.com> * modules/tamil/tamil-{xft,x}.c: Make a number of functions static to avoid symbol clashes when both tamil-x.c and tamil-xft.c are linked statically into the same library. (#63436, Raymond Wan)
Diffstat (limited to 'modules')
-rw-r--r--modules/tamil/tamil-x.c8
-rw-r--r--modules/tamil/tamil-xft.c8
2 files changed, 10 insertions, 6 deletions
diff --git a/modules/tamil/tamil-x.c b/modules/tamil/tamil-x.c
index 3807ee35..ef820b74 100644
--- a/modules/tamil/tamil-x.c
+++ b/modules/tamil/tamil-x.c
@@ -59,7 +59,8 @@ static gint n_script_engines = G_N_ELEMENTS (script_engines);
/* Return non-zero if c is a akara mey, 0 otherwise
*/
-int is_consonant (unsigned int c)
+static int
+is_consonant (unsigned int c)
{
/* Too many gaps between consonants - So use a bit map */
/** KSHA might come at 0xBBA later ?? **/
@@ -69,7 +70,8 @@ int is_consonant (unsigned int c)
/* Return 1 if c is a modifier, 0 otherwise
*/
-int is_modifier (unsigned int c)
+static int
+is_modifier (unsigned int c)
{
if ((c >= 0x0BBE && c <= 0x0BC2) ||
(c >= 0x0BC6 && c <= 0x0BC8) ||
@@ -114,7 +116,7 @@ tamil_compact (gunichar *chars,
/* Apply the modifier to the base character to get the string of glyph
* indices
*/
-void
+static void
apply_modifier (gunichar base,
gunichar modifier,
gunichar *glyph_str,
diff --git a/modules/tamil/tamil-xft.c b/modules/tamil/tamil-xft.c
index 4e411625..b7121d9e 100644
--- a/modules/tamil/tamil-xft.c
+++ b/modules/tamil/tamil-xft.c
@@ -86,7 +86,8 @@ static gint n_script_engines = G_N_ELEMENTS (script_engines);
/* Return non-zero if c is a akara mey, 0 otherwise
*/
-int is_consonant (unsigned int c)
+static int
+is_consonant (unsigned int c)
{
/* Too many gaps between consonants - So use a bit map */
/** KSHA might come at 0xBBA later ?? **/
@@ -96,7 +97,8 @@ int is_consonant (unsigned int c)
/* Return 1 if c is a modifier, 0 otherwise
*/
-int is_modifier (unsigned int c)
+static int
+is_modifier (unsigned int c)
{
if ((c >= 0x0BBE && c <= 0x0BC2) ||
(c >= 0x0BC6 && c <= 0x0BC8) ||
@@ -111,7 +113,7 @@ int is_modifier (unsigned int c)
/* Apply the modifier to the base character to get the string of glyph
* indices
*/
-void
+static void
apply_modifier (gunichar base,
gunichar modifier,
gunichar *glyph_str,