summaryrefslogtreecommitdiff
path: root/lib/iconv_open-hpux.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2026-03-08 17:28:33 +0100
committerJörg Frings-Fürst <debian@jff.email>2026-03-08 17:28:33 +0100
commit5f59a34ab747dde8ede7357f3431bf06bd6002fe (patch)
tree056a4477fd870d454d5be5868cddab829a47f4d2 /lib/iconv_open-hpux.h
parent27dae84ed92f1ef0300263091972338d12e78348 (diff)
New upstream version 1.4.2upstream/1.4.2upstream
Diffstat (limited to 'lib/iconv_open-hpux.h')
-rw-r--r--lib/iconv_open-hpux.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/iconv_open-hpux.h b/lib/iconv_open-hpux.h
index bae7bff6..0974ae4b 100644
--- a/lib/iconv_open-hpux.h
+++ b/lib/iconv_open-hpux.h
@@ -1,4 +1,4 @@
-/* ANSI-C code produced by gperf version 3.2 */
+/* ANSI-C code produced by gperf version 3.3 */
/* Command-line: gperf -m 10 iconv_open-hpux.gperf */
/* Computed positions: -k'4,$' */
@@ -177,6 +177,10 @@ static const struct stringpool_t stringpool_contents =
};
#define stringpool ((const char *) &stringpool_contents)
+#if (defined __GNUC__ && __GNUC__ + (__GNUC_MINOR__ >= 6) > 4) || (defined __clang__ && __clang_major__ >= 3)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
+#endif
static const struct mapping mappings[] =
{
{-1}, {-1}, {-1}, {-1}, {-1}, {-1},
@@ -269,6 +273,9 @@ static const struct mapping mappings[] =
#line 53 "iconv_open-hpux.gperf"
{(int)(size_t)&((struct stringpool_t *)0)->stringpool_str49, "cp1253"}
};
+#if (defined __GNUC__ && __GNUC__ + (__GNUC_MINOR__ >= 6) > 4) || (defined __clang__ && __clang_major__ >= 3)
+#pragma GCC diagnostic pop
+#endif
const struct mapping *
mapping_lookup (register const char *str, register size_t len)
@@ -289,5 +296,5 @@ mapping_lookup (register const char *str, register size_t len)
}
}
}
- return 0;
+ return (struct mapping *) 0;
}