2009-03-19 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Thu, 19 Mar 2009 19:51:42 +0000 (19:51 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 19 Mar 2009 19:51:42 +0000 (19:51 +0000)
* td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE):
Use STRINGIFY macro in place of #argument.

nptl_db/td_symbol_list.c

index 7949840..474251d 100644 (file)
@@ -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