#include "config.h"
-#define _GNU_SOURCE /* For stpcpy */
-
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
* g_strdup_printf:
* @format: a standard printf() format string, but notice
* <link linkend="string-precision">string precision pitfalls</link>
- * @Varargs: the parameters to insert into the format string
+ * @...: the parameters to insert into the format string
*
* Similar to the standard C sprintf() function but safer, since it
* calculates the maximum space required and allocates memory to hold
/**
* g_strconcat:
* @string1: the first string to add, which must not be %NULL
- * @Varargs: a %NULL-terminated list of strings to append to the string
+ * @...: a %NULL-terminated list of strings to append to the string
*
* Concatenates all of the given strings into one long string.
* The returned string should be freed with g_free() when no longer needed.
* is unknown, it returns "unknown error (<code>)". The string
* can only be used until the next call to g_strerror()
*/
-G_CONST_RETURN gchar*
+const gchar *
g_strerror (gint errnum)
{
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
* it returns "unknown signal (<signum>)". The string can only be
* used until the next call to g_strsignal()
*/
-G_CONST_RETURN gchar*
+const gchar *
g_strsignal (gint signum)
{
static GStaticPrivate msg_private = G_STATIC_PRIVATE_INIT;
/**
* g_strjoin:
* @separator: a string to insert between each of the strings, or %NULL
- * @Varargs: a %NULL-terminated list of strings to join
+ * @...: a %NULL-terminated list of strings to join
*
* Joins a number of strings together to form one long string, with the
* optional @separator inserted between each of them. The returned string
*
* Since: 2.4
**/
-G_CONST_RETURN gchar *
+const gchar *
g_strip_context (const gchar *msgid,
const gchar *msgval)
{
*
* Since: 2.16
*/
-G_CONST_RETURN gchar *
+const gchar *
g_dpgettext (const gchar *domain,
const gchar *msgctxtid,
gsize msgidoffset)
*
* Since: 2.18
*/
-G_CONST_RETURN char *
+const char *
g_dpgettext2 (const char *domain,
const char *msgctxt,
const char *msgid)
*
* Since: 2.18
*/
-G_CONST_RETURN gchar *
+const gchar *
g_dgettext (const gchar *domain,
const gchar *msgid)
{
*
* Since: 2.26
*/
-G_CONST_RETURN gchar *
+const gchar *
g_dcgettext (const gchar *domain,
const gchar *msgid,
int category)
*
* Since: 2.18
*/
-G_CONST_RETURN gchar *
+const gchar *
g_dngettext (const gchar *domain,
const gchar *msgid,
const gchar *msgid_plural,