[6/7] gdb: remove qsort kludge from ada-exp-parser.y
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_gdb_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_gdb_check--master-arm |
success
|
Test passed
|
Commit Message
Remove the "#define qsort __qsort__dummy" kludge, which was there to
avoid a conflict between defs.h and non-standard stdlib.h files. This
was introduced in 2002, I am pretty sure this is not needed anymore.
Change-Id: I22d42f13ad4bdd6fc118ac4e1f30abdb79beb659
---
gdb/ada-exp-parser.y | 3 ---
1 file changed, 3 deletions(-)
@@ -838,7 +838,4 @@ primary : '*' primary %prec '.'
/* yylex defined in ada-lex-gen.c: Reads one token, getting characters */
/* through lexptr. */
-/* The following kludge was found necessary to prevent conflicts between */
-/* defs.h and non-standard stdlib.h files. */
-#define qsort __qsort__dummy
#include "ada-lex-gen.c"