Skip to content

Commit

Permalink
Fix syntax error in exit.c
Browse files Browse the repository at this point in the history
This patch fixes a syntax error in exit.c that was introduced during the
ANSI-fication of newlib. The patch fixes a compile-time issue that arises when
newlib is configured with the --enable-lite-exit feature.
  • Loading branch information
ucfssl authored and kito-cheng committed Jun 5, 2018
1 parent fffd277 commit 7218f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newlib/libc/stdlib/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ exit (int code)
{
#ifdef _LITE_EXIT
/* Refer to comments in __atexit.c for more details of lite exit. */
void __call_exitprocs (int, void *)) __attribute__((weak);
void __call_exitprocs (int, void *) __attribute__((weak));
if (__call_exitprocs)
#endif
__call_exitprocs (code, NULL);
Expand Down

0 comments on commit 7218f3e

Please sign in to comment.