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>
|
||||
|
||||
* nlmconv.c (temp_filename): Removed.
|
||||
|
@ -138,12 +138,11 @@ void *alloca ();
|
||||
# define N_(String) (String)
|
||||
# endif
|
||||
#else
|
||||
/* Stubs that do something close enough. */
|
||||
# define textdomain(String) (String)
|
||||
# define gettext(String) (String)
|
||||
# define dgettext(Domain,Message) (Message)
|
||||
# define dcgettext(Domain,Message,Type) (Message)
|
||||
# define bindtextdomain(Domain,Directory) (Domain)
|
||||
# define gettext(Msgid) (Msgid)
|
||||
# define dgettext(Domainname, Msgid) (Msgid)
|
||||
# define dcgettext(Domainname, Msgid, Category) (Msgid)
|
||||
# define textdomain(Domainname) while (0) /* nothing */
|
||||
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
|
||||
# define _(String) (String)
|
||||
# define N_(String) (String)
|
||||
#endif
|
||||
|
@ -1,5 +1,9 @@
|
||||
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.
|
||||
|
||||
* config/tc-i386.c (quiet_warnings): New.
|
||||
|
11
gas/asintl.h
11
gas/asintl.h
@ -33,12 +33,11 @@
|
||||
# define N_(String) (String)
|
||||
# endif
|
||||
#else
|
||||
/* Stubs that do something close enough. */
|
||||
# define textdomain(String) (String)
|
||||
# define gettext(String) (String)
|
||||
# define dgettext(Domain,Message) (Message)
|
||||
# define dcgettext(Domain,Message,Type) (Message)
|
||||
# define bindtextdomain(Domain,Directory) (Domain)
|
||||
# define gettext(Msgid) (Msgid)
|
||||
# define dgettext(Domainname, Msgid) (Msgid)
|
||||
# define dcgettext(Domainname, Msgid, Category) (Msgid)
|
||||
# define textdomain(Domainname) while (0) /* nothing */
|
||||
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
|
||||
# define _(String) (String)
|
||||
# define N_(String) (String)
|
||||
#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>
|
||||
|
||||
* 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)
|
||||
# endif
|
||||
#else
|
||||
/* Stubs that do something close enough. */
|
||||
# define textdomain(String) (String)
|
||||
# define gettext(String) (String)
|
||||
# define dgettext(Domain,Message) (Message)
|
||||
# define dcgettext(Domain,Message,Type) (Message)
|
||||
# define bindtextdomain(Domain,Directory) (Domain)
|
||||
# define gettext(Msgid) (Msgid)
|
||||
# define dgettext(Domainname, Msgid) (Msgid)
|
||||
# define dcgettext(Domainname, Msgid, Category) (Msgid)
|
||||
# define textdomain(Domainname) while (0) /* nothing */
|
||||
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
|
||||
# define _(String) (String)
|
||||
# define N_(String) (String)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user