This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 1/9] [gdbserver] Delete _ macro (gettext).
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 3 Sep 2013 21:26:31 +0100
- Subject: [PATCH 1/9] [gdbserver] Delete _ macro (gettext).
- Authentication-results: sourceware.org; auth=none
- References: <1378239999-15533-1-git-send-email-palves at redhat dot com>
server.h nowadays includes gdb_locale.h, which already brings this in.
gdb/gdbserver/
2013-09-03 Pedro Alves <palves@redhat.com>
* server.h (_): Delete.
---
gdb/gdbserver/server.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 1a1d9b2..371876b 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -73,12 +73,6 @@ extern int vasprintf(char **strp, const char *fmt, va_list ap);
int vsnprintf(char *str, size_t size, const char *format, va_list ap);
#endif
-/* Define underscore macro, if not available, to be able to use it inside
- code shared with gdb in common directory. */
-#ifndef _
-#define _(String) (String)
-#endif
-
#ifdef IN_PROCESS_AGENT
# define PROG "ipa"
#else
--
1.7.11.7