about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-05 10:28:33 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-05 12:01:50 -0500
commit869378a5bf1d415f52c14d9697b886d8143a73e1 (patch)
tree4c2fd9fc3080f1867318652e6c1493fb0ed5407a
parent840e2943e8ae020adfa7eafa7877f004e7ecada1 (diff)
downloadglibc-869378a5bf1d415f52c14d9697b886d8143a73e1.tar.gz
glibc-869378a5bf1d415f52c14d9697b886d8143a73e1.tar.xz
glibc-869378a5bf1d415f52c14d9697b886d8143a73e1.zip
Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.
-rw-r--r--ChangeLog7
-rw-r--r--locale/C-translit.h1
-rw-r--r--locale/gen-translit.pl2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a2a0c52ea..bda0096209 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
+
+	* locale/C-translit.h: Revert #include <stdint.h> because this is a
+	generated file.  Regenerate properly from gen-translit.pl.
+	* locale/gen-translit.pl: Add #include <stdint.h>.  This generates
+	locale/C-translit.h.
+
 2013-06-05  Andreas Schwab  <schwab@suse.de>
 
 	[BZ #15100]
diff --git a/locale/C-translit.h b/locale/C-translit.h
index 98f66e28fc..fdd4450050 100644
--- a/locale/C-translit.h
+++ b/locale/C-translit.h
@@ -1,5 +1,4 @@
 #include <stdint.h>
-
 #define NTRANSLIT 1355
 static const uint32_t translit_from_idx[] =
 {
diff --git a/locale/gen-translit.pl b/locale/gen-translit.pl
index d44310b316..5f30e30851 100644
--- a/locale/gen-translit.pl
+++ b/locale/gen-translit.pl
@@ -53,6 +53,8 @@ while (<F>) {
   }
 }
 
+printf "#include <stdint.h>\n";
+
 printf "#define NTRANSLIT %d\n", $#froms + 1;
 
 printf "static const uint32_t translit_from_idx[] =\n{\n  ";