diff options
Diffstat (limited to 'gprofng/testsuite/gprofng.display/synprog')
-rw-r--r-- | gprofng/testsuite/gprofng.display/synprog/endcases.c | 4 | ||||
-rw-r--r-- | gprofng/testsuite/gprofng.display/synprog/inc_inline.h | 2 | ||||
-rw-r--r-- | gprofng/testsuite/gprofng.display/synprog/synprog.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gprofng/testsuite/gprofng.display/synprog/endcases.c b/gprofng/testsuite/gprofng.display/synprog/endcases.c index a6a1389..6f1c83b 100644 --- a/gprofng/testsuite/gprofng.display/synprog/endcases.c +++ b/gprofng/testsuite/gprofng.display/synprog/endcases.c @@ -40,8 +40,8 @@ static void s_inline_code (int); void ext_inline_code (int); #ifndef NO_INLINE -void xinline_code () __attribute__ ((always_inline)); -void s_inline_code () __attribute__ ((always_inline)); +void xinline_code (int) __attribute__ ((always_inline)); +void s_inline_code (int) __attribute__ ((always_inline)); #endif #include "inc_inline.h" diff --git a/gprofng/testsuite/gprofng.display/synprog/inc_inline.h b/gprofng/testsuite/gprofng.display/synprog/inc_inline.h index da42563..6600eac 100644 --- a/gprofng/testsuite/gprofng.display/synprog/inc_inline.h +++ b/gprofng/testsuite/gprofng.display/synprog/inc_inline.h @@ -19,7 +19,7 @@ MA 02110-1301, USA. */ #ifndef NO_INLINE -void ext_inline_code() __attribute__ ((always_inline)); +void ext_inline_code(int) __attribute__ ((always_inline)); #endif void diff --git a/gprofng/testsuite/gprofng.display/synprog/synprog.c b/gprofng/testsuite/gprofng.display/synprog/synprog.c index cf1bc5b..05920dc 100644 --- a/gprofng/testsuite/gprofng.display/synprog/synprog.c +++ b/gprofng/testsuite/gprofng.display/synprog/synprog.c @@ -528,14 +528,14 @@ reapchildren () int doabort (int k) { - char *nullptr = NULL; + char *p = NULL; char c; /* Log the event */ wlog ("start of doabort", NULL); /* and dereference a NULL */ - c = *nullptr; + c = *p; /* this should never be reached */ return (int) c; |