summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>2000-11-21 19:23:23 +0000
committerElliot Lee <sopwith@src.gnome.org>2000-11-21 19:23:23 +0000
commit5d1d3a4418be2ac97a31a6f2a2abef86ce46f36c (patch)
treee1103d0255fa291e0f07204a32c32f0cf803e7ba /modules
parent68660ec7c84a3e84f4e3cc3f787ab71d66836955 (diff)
downloadpango-5d1d3a4418be2ac97a31a6f2a2abef86ce46f36c.tar.gz
Fix warnings - mostly include string.h for strcmp.
Fix warnings - mostly include string.h for strcmp.
Diffstat (limited to 'modules')
-rw-r--r--modules/arabic/arabic-x.c1
-rw-r--r--modules/arabic/arabic.c1
-rw-r--r--modules/arabic/arconv.c7
-rw-r--r--modules/basic/basic-x.c1
-rw-r--r--modules/basic/basic.c1
-rw-r--r--modules/hangul/hangul-x.c1
-rw-r--r--modules/hangul/hangul.c1
-rw-r--r--modules/indic/gurmukhi-x.c4
-rw-r--r--modules/indic/gurmukhi.c4
-rw-r--r--modules/indic/myanmar-x.c4
-rw-r--r--modules/indic/myanmar.c4
11 files changed, 17 insertions, 12 deletions
diff --git a/modules/arabic/arabic-x.c b/modules/arabic/arabic-x.c
index e73c20c4..49435b5c 100644
--- a/modules/arabic/arabic-x.c
+++ b/modules/arabic/arabic-x.c
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <glib.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
diff --git a/modules/arabic/arabic.c b/modules/arabic/arabic.c
index e73c20c4..49435b5c 100644
--- a/modules/arabic/arabic.c
+++ b/modules/arabic/arabic.c
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <glib.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
diff --git a/modules/arabic/arconv.c b/modules/arabic/arconv.c
index c41a69be..a96e0433 100644
--- a/modules/arabic/arconv.c
+++ b/modules/arabic/arconv.c
@@ -250,10 +250,9 @@ charshape(gunichar s,short which)
case 3: return 0xFEF4;
}
}
- else
- {
- return s;
- }
+
+ /* else */
+ return s;
}
diff --git a/modules/basic/basic-x.c b/modules/basic/basic-x.c
index 06907bfb..b49c8480 100644
--- a/modules/basic/basic-x.c
+++ b/modules/basic/basic-x.c
@@ -20,6 +20,7 @@
*/
#include <glib.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
#include "pango-utils.h"
diff --git a/modules/basic/basic.c b/modules/basic/basic.c
index 06907bfb..b49c8480 100644
--- a/modules/basic/basic.c
+++ b/modules/basic/basic.c
@@ -20,6 +20,7 @@
*/
#include <glib.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
#include "pango-utils.h"
diff --git a/modules/hangul/hangul-x.c b/modules/hangul/hangul-x.c
index 43a6827e..eb655ab2 100644
--- a/modules/hangul/hangul-x.c
+++ b/modules/hangul/hangul-x.c
@@ -20,6 +20,7 @@
*/
#include <glib.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
diff --git a/modules/hangul/hangul.c b/modules/hangul/hangul.c
index 43a6827e..eb655ab2 100644
--- a/modules/hangul/hangul.c
+++ b/modules/hangul/hangul.c
@@ -20,6 +20,7 @@
*/
#include <glib.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
diff --git a/modules/indic/gurmukhi-x.c b/modules/indic/gurmukhi-x.c
index e448fb22..7d75e505 100644
--- a/modules/indic/gurmukhi-x.c
+++ b/modules/indic/gurmukhi-x.c
@@ -28,6 +28,7 @@
#include <glib.h>
#include <stdio.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
@@ -150,8 +151,7 @@ pango_indic_engine_shape (PangoFont * font,
int n_chars, n_glyph;
int lvl;
- const char *p;
- int i, k;
+ int i;
gunichar *wc;
int sb;
int n_syls;
diff --git a/modules/indic/gurmukhi.c b/modules/indic/gurmukhi.c
index e448fb22..7d75e505 100644
--- a/modules/indic/gurmukhi.c
+++ b/modules/indic/gurmukhi.c
@@ -28,6 +28,7 @@
#include <glib.h>
#include <stdio.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
@@ -150,8 +151,7 @@ pango_indic_engine_shape (PangoFont * font,
int n_chars, n_glyph;
int lvl;
- const char *p;
- int i, k;
+ int i;
gunichar *wc;
int sb;
int n_syls;
diff --git a/modules/indic/myanmar-x.c b/modules/indic/myanmar-x.c
index ae0424c6..ea3dc3fc 100644
--- a/modules/indic/myanmar-x.c
+++ b/modules/indic/myanmar-x.c
@@ -34,6 +34,7 @@
#include <glib.h>
#include <stdio.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
@@ -128,8 +129,7 @@ pango_engine_shape (PangoFont * font,
int n_chars, n_glyph;
int lvl;
- const char *p;
- int i, k;
+ int i;
gunichar *wc;
int sb;
int n_syls;
diff --git a/modules/indic/myanmar.c b/modules/indic/myanmar.c
index ae0424c6..ea3dc3fc 100644
--- a/modules/indic/myanmar.c
+++ b/modules/indic/myanmar.c
@@ -34,6 +34,7 @@
#include <glib.h>
#include <stdio.h>
+#include <string.h>
#include "pango.h"
#include "pangox.h"
@@ -128,8 +129,7 @@ pango_engine_shape (PangoFont * font,
int n_chars, n_glyph;
int lvl;
- const char *p;
- int i, k;
+ int i;
gunichar *wc;
int sb;
int n_syls;