* gettext-runtime/intl/gettextP.h (_nl_log_untranslated): New declaration.
* gettext-runtime/intl/dcigettext.c: Remove nested declaration of _nl_log_untranslated.
* gettext-runtime/intl/log.c: Include gettextP.h.
#ifndef _LIBC
if (!ENABLE_SECURE)
{
- extern void _nl_log_untranslated (const char *logfilename,
- const char *domainname,
- const char *msgid1, const char *msgid2,
- int plural);
const char *logfilename = getenv ("GETTEXT_LOG_UNTRANSLATED");
if (logfilename != NULL && logfilename[0] != '\0')
/* Default text domain in which entries for gettext(3) are to be found. */
extern const char *_nl_current_default_domain attribute_hidden;
+extern void _nl_log_untranslated (const char *logfilename,
+ const char *domainname,
+ const char *msgid1, const char *msgid2,
+ int plural);
+
/* @@ begin of epilog @@ */
#endif /* gettextP.h */
/* Log file output.
- Copyright (C) 2003, 2005, 2009, 2021 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005, 2009, 2021, 2023 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
# include <config.h>
#endif
+/* Specification. */
+#include "gettextP.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>