diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2013-02-12 07:13:22 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2013-02-12 07:13:22 -0500 |
commit | 0cb1fac3b19f01025b63d2cdceabb8767185da28 (patch) | |
tree | 05cddf0e4d15240b6a2e230d29f0edde4b538419 /src/include/mb | |
parent | 62401db45c4feff9be296fa78a8bb7b9947d69de (diff) | |
download | postgresql-0cb1fac3b19f01025b63d2cdceabb8767185da28.tar.gz |
Add noreturn attributes to some error reporting functions
Diffstat (limited to 'src/include/mb')
-rw-r--r-- | src/include/mb/pg_wchar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h index 907950dda4..78ddaf92e3 100644 --- a/src/include/mb/pg_wchar.h +++ b/src/include/mb/pg_wchar.h @@ -516,9 +516,9 @@ extern void check_encoding_conversion_args(int src_encoding, int expected_src_encoding, int expected_dest_encoding); -extern void report_invalid_encoding(int encoding, const char *mbstr, int len); +extern void report_invalid_encoding(int encoding, const char *mbstr, int len) __attribute__((noreturn)); extern void report_untranslatable_char(int src_encoding, int dest_encoding, - const char *mbstr, int len); + const char *mbstr, int len) __attribute__((noreturn)); extern void pg_ascii2mic(const unsigned char *l, unsigned char *p, int len); extern void pg_mic2ascii(const unsigned char *mic, unsigned char *p, int len); |