Quell some gcc warnings by defining textdomain and bindtextdomain
as intl/libgettext.h does.
This commit is contained in:
parent
a38cf1db3a
commit
897083bdcd
@ -1,3 +1,9 @@
|
|||||||
|
2000-05-13 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
|
* bucomm.h (gettext, dgettext, dcgettext, textdomain,
|
||||||
|
bindtextdomain): Replace defines with those from intl/libgettext.h
|
||||||
|
to quieten gcc warnings.
|
||||||
|
|
||||||
2000-05-12 H.J. Lu <hjl@gnu.org>
|
2000-05-12 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* nlmconv.c (temp_filename): Removed.
|
* nlmconv.c (temp_filename): Removed.
|
||||||
|
@ -138,12 +138,11 @@ void *alloca ();
|
|||||||
# define N_(String) (String)
|
# define N_(String) (String)
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
/* Stubs that do something close enough. */
|
# define gettext(Msgid) (Msgid)
|
||||||
# define textdomain(String) (String)
|
# define dgettext(Domainname, Msgid) (Msgid)
|
||||||
# define gettext(String) (String)
|
# define dcgettext(Domainname, Msgid, Category) (Msgid)
|
||||||
# define dgettext(Domain,Message) (Message)
|
# define textdomain(Domainname) while (0) /* nothing */
|
||||||
# define dcgettext(Domain,Message,Type) (Message)
|
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
|
||||||
# define bindtextdomain(Domain,Directory) (Domain)
|
|
||||||
# define _(String) (String)
|
# define _(String) (String)
|
||||||
# define N_(String) (String)
|
# define N_(String) (String)
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-05-13 Alan Modra <alan@linuxcare.com.au>
|
2000-05-13 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
|
* asintl.h (gettext, dgettext, dcgettext, textdomain,
|
||||||
|
bindtextdomain): Replace defines with those from intl/libgettext.h
|
||||||
|
to quieten gcc warnings.
|
||||||
|
|
||||||
* NEWS: Mention x86 .arch and -q.
|
* NEWS: Mention x86 .arch and -q.
|
||||||
|
|
||||||
* config/tc-i386.c (quiet_warnings): New.
|
* config/tc-i386.c (quiet_warnings): New.
|
||||||
|
11
gas/asintl.h
11
gas/asintl.h
@ -33,12 +33,11 @@
|
|||||||
# define N_(String) (String)
|
# define N_(String) (String)
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
/* Stubs that do something close enough. */
|
# define gettext(Msgid) (Msgid)
|
||||||
# define textdomain(String) (String)
|
# define dgettext(Domainname, Msgid) (Msgid)
|
||||||
# define gettext(String) (String)
|
# define dcgettext(Domainname, Msgid, Category) (Msgid)
|
||||||
# define dgettext(Domain,Message) (Message)
|
# define textdomain(Domainname) while (0) /* nothing */
|
||||||
# define dcgettext(Domain,Message,Type) (Message)
|
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
|
||||||
# define bindtextdomain(Domain,Directory) (Domain)
|
|
||||||
# define _(String) (String)
|
# define _(String) (String)
|
||||||
# define N_(String) (String)
|
# define N_(String) (String)
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2000-05-13 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
|
* ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
|
||||||
|
Replace defines with those from intl/libgettext.h to quieten gcc
|
||||||
|
warnings.
|
||||||
|
|
||||||
2000-05-10 H.J. Lu <hjl@gnu.org>
|
2000-05-10 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* ldlang.c (open_input_bfds): Don't load the same file within
|
* ldlang.c (open_input_bfds): Don't load the same file within
|
||||||
|
11
ld/ld.h
11
ld/ld.h
@ -35,12 +35,11 @@
|
|||||||
# define N_(String) (String)
|
# define N_(String) (String)
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
/* Stubs that do something close enough. */
|
# define gettext(Msgid) (Msgid)
|
||||||
# define textdomain(String) (String)
|
# define dgettext(Domainname, Msgid) (Msgid)
|
||||||
# define gettext(String) (String)
|
# define dcgettext(Domainname, Msgid, Category) (Msgid)
|
||||||
# define dgettext(Domain,Message) (Message)
|
# define textdomain(Domainname) while (0) /* nothing */
|
||||||
# define dcgettext(Domain,Message,Type) (Message)
|
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
|
||||||
# define bindtextdomain(Domain,Directory) (Domain)
|
|
||||||
# define _(String) (String)
|
# define _(String) (String)
|
||||||
# define N_(String) (String)
|
# define N_(String) (String)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user