Ticket #2164: tt2164.doughera.patch

File tt2164.doughera.patch, 440 bytes (added by jkeenan, 3 years ago)
  • config/auto/attributes/test_c.in

    diff --git a/config/auto/attributes/test_c.in b/config/auto/attributes/test_c.in
    index eb5262c..896da8b 100644
    a b  
    4242 
    4343 
    4444static int 
    45 useless(void) { int x __attribute__unused__; return 0; } 
     45useless(int x __attribute__unused__) { int y __attribute__unused__; return 0; } 
    4646 
    4747 
    4848/* as long as the file compiles, everything is okay */