about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2009-03-19 19:51:42 +0000
committerRoland McGrath <roland@gnu.org>2009-03-19 19:51:42 +0000
commit665b0c300c8db1b719a2bdb17fe39de7cd8b5606 (patch)
treec0aad7f8abb56517458f610db29186e6aef255ba
parent3fb8a93ae97838eaa51cc043678c9d7c2c9bc027 (diff)
downloadglibc-665b0c300c8db1b719a2bdb17fe39de7cd8b5606.tar.gz
glibc-665b0c300c8db1b719a2bdb17fe39de7cd8b5606.tar.xz
glibc-665b0c300c8db1b719a2bdb17fe39de7cd8b5606.zip
2009-03-19 Roland McGrath <roland@redhat.com>
	* td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE):
	Use STRINGIFY macro in place of #argument.
-rw-r--r--nptl_db/td_symbol_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl_db/td_symbol_list.c b/nptl_db/td_symbol_list.c
index 79498404cb..474251d627 100644
--- a/nptl_db/td_symbol_list.c
+++ b/nptl_db/td_symbol_list.c
@@ -24,8 +24,8 @@
 
 static const char *symbol_list_arr[] =
 {
-# define DB_LOOKUP_NAME(idx, name)		[idx] = #name,
-# define DB_LOOKUP_NAME_TH_UNIQUE(idx, name)	[idx] = #name,
+# define DB_LOOKUP_NAME(idx, name)		[idx] = STRINGIFY (name),
+# define DB_LOOKUP_NAME_TH_UNIQUE(idx, name)	[idx] = STRINGIFY (name),
 # include "db-symbols.h"
 # undef	DB_LOOKUP_NAME
 # undef	DB_LOOKUP_NAME_TH_UNIQUE