Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC] Question about CODESET macro inside config/djgpp/langinfo.h
@ 2011-03-21 16:27 Pierre Muller
  2011-03-21 16:53 ` Mark Kettenis
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Muller @ 2011-03-21 16:27 UTC (permalink / raw)
  To: gdb-patches; +Cc: 'Eli Zaretskii'

  Also about macros removal inside config subdirectory:

  I was wondering about the usefulness of CODESET macro definition
inside 
config/djgpp/langinfo.h

#define CODESET CODESET

while CODESET is itself a member of an enumeration.

Albeit harmless, this is listed as a macro to remove...
I don't see any code testing for the presence of this macro.
The configure script should work unchanged if we remove that line, no?
I also looked into config/djgpp/djconfig.sh 
and I don't see where it could trigger any change.

Any objection to remove that macro?

Pierre Muller


Changelog entry:

2011-03-21  Pierre Muller  <muller@ics.u-strasbg.fr>

	* config/djgpp/langinfo.h (CODESET macro): Remove.



Pierre@E6510-Muller ~/git/archer
$ git diff gdb/config/djgpp
diff --git a/gdb/config/djgpp/langinfo.h b/gdb/config/djgpp/langinfo.h
index d3a5672..a624f78 100644
--- a/gdb/config/djgpp/langinfo.h
+++ b/gdb/config/djgpp/langinfo.h
@@ -28,8 +28,6 @@ enum {
   _NL_NUM
 };

-#define CODESET CODESET
-
 extern char *nl_langinfo (nl_item);

 #endif /* _LANGINFO_H */


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-21 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-21 16:27 [RFC] Question about CODESET macro inside config/djgpp/langinfo.h Pierre Muller
2011-03-21 16:53 ` Mark Kettenis
2011-03-21 17:25   ` Pierre Muller
2011-03-21 20:10   ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox