]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update after gnulib changed.
authorBruno Haible <bruno@clisp.org>
Sun, 4 Jun 2023 18:00:59 +0000 (20:00 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Jun 2023 18:04:25 +0000 (20:04 +0200)
* gettext-tools/src/po-error.c (_GL_NO_INLINE_ERROR): New macro.
* gettext-tools/libgettextpo/gettext-po.c (_GL_NO_INLINE_ERROR): Likewise.

gettext-tools/libgettextpo/gettext-po.c
gettext-tools/src/po-error.c

index 7d3a1d06a2d6c9d5ca8701b9eae3aee635d65499..3588fdb4b2c14a4b5f5cfb34324598aaa3315705 100644 (file)
@@ -1,5 +1,5 @@
 /* Public API for GNU gettext PO files.
-   Copyright (C) 2003-2010, 2014 Free Software Foundation, Inc.
+   Copyright (C) 2003-2010, 2014, 2023 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2003.
 
    This program is free software: you can redistribute it and/or modify
@@ -18,6 +18,8 @@
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
+/* Avoid side effect of gnulib's error.h on 'struct po_error_handler'.  */
+#define _GL_NO_INLINE_ERROR
 
 /* Specification.  */
 #include "gettext-po.h"
index 8dd1e13909d9ddc643c9d78767a4a85691e71b9f..9a62984258ce2dcf57c12b9d2cbb5c9e765d2127 100644 (file)
@@ -1,5 +1,5 @@
 /* Error handling during reading and writing of PO files.
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2023 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2004.
 
    This program is free software: you can redistribute it and/or modify
@@ -19,6 +19,8 @@
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
+/* Avoid side effect of gnulib's error.h.  */
+#define _GL_NO_INLINE_ERROR
 
 /* Specification.  */
 #include "po-error.h"