]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 79498404cb186dd9b11b3d60cd45854aa45d800b..474251d6272702161aafd6b24487c7ce663d38b0 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