diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 4 | ||||
| -rw-r--r-- | lib-src/profile.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index e5d76d4c591..6a722e0641c 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -1330,7 +1330,7 @@ main (int argc, char **argv) | |||
| 1330 | pfatal (tagfile); | 1330 | pfatal (tagfile); |
| 1331 | } | 1331 | } |
| 1332 | 1332 | ||
| 1333 | exit (EXIT_SUCCESS); | 1333 | return EXIT_SUCCESS; |
| 1334 | } | 1334 | } |
| 1335 | 1335 | ||
| 1336 | /* From here on, we are in (CTAGS && !cxref_style) */ | 1336 | /* From here on, we are in (CTAGS && !cxref_style) */ |
| @@ -1383,7 +1383,7 @@ main (int argc, char **argv) | |||
| 1383 | z = stpcpy (z, tagfile); | 1383 | z = stpcpy (z, tagfile); |
| 1384 | *z++ = ' '; | 1384 | *z++ = ' '; |
| 1385 | strcpy (z, tagfile); | 1385 | strcpy (z, tagfile); |
| 1386 | exit (system (cmd)); | 1386 | return system (cmd); |
| 1387 | } | 1387 | } |
| 1388 | return EXIT_SUCCESS; | 1388 | return EXIT_SUCCESS; |
| 1389 | } | 1389 | } |
diff --git a/lib-src/profile.c b/lib-src/profile.c index edd36cafd37..cfee5b8608f 100644 --- a/lib-src/profile.c +++ b/lib-src/profile.c | |||
| @@ -85,13 +85,13 @@ main (void) | |||
| 85 | puts (get_time ()); | 85 | puts (get_time ()); |
| 86 | break; | 86 | break; |
| 87 | case 'q': | 87 | case 'q': |
| 88 | exit (EXIT_SUCCESS); | 88 | return EXIT_SUCCESS; |
| 89 | } | 89 | } |
| 90 | /* Anything remaining on the line is ignored. */ | 90 | /* Anything remaining on the line is ignored. */ |
| 91 | while (c != '\n' && c != EOF) | 91 | while (c != '\n' && c != EOF) |
| 92 | c = getchar (); | 92 | c = getchar (); |
| 93 | } | 93 | } |
| 94 | exit (EXIT_FAILURE); | 94 | return EXIT_FAILURE; |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | 97 | ||