aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ebrowse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/ebrowse.c')
-rw-r--r--lib-src/ebrowse.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index eeeb0eb3efd..4ad45d195f6 100644
--- a/lib-src/ebrowse.c
+++ b/lib-src/ebrowse.c
@@ -564,7 +564,7 @@ xmalloc (nbytes)
564 if (p == NULL) 564 if (p == NULL)
565 { 565 {
566 yyerror ("out of memory", NULL); 566 yyerror ("out of memory", NULL);
567 exit (1); 567 exit (EXIT_FAILURE);
568 } 568 }
569 return p; 569 return p;
570} 570}
@@ -581,7 +581,7 @@ xrealloc (p, sz)
581 if (p == NULL) 581 if (p == NULL)
582 { 582 {
583 yyerror ("out of memory", NULL); 583 yyerror ("out of memory", NULL);
584 exit (1); 584 exit (EXIT_FAILURE);
585 } 585 }
586 return p; 586 return p;
587} 587}
@@ -3671,7 +3671,7 @@ usage (error)
3671 int error; 3671 int error;
3672{ 3672{
3673 puts (USAGE); 3673 puts (USAGE);
3674 exit (error ? 1 : 0); 3674 exit (error ? EXIT_FAILURE : EXIT_SUCCESS);
3675} 3675}
3676 3676
3677 3677
@@ -3688,7 +3688,7 @@ version ()
3688 printf ("ebrowse %s\n", VERSION); 3688 printf ("ebrowse %s\n", VERSION);
3689 puts ("Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc."); 3689 puts ("Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.");
3690 puts ("This program is distributed under the same terms as Emacs."); 3690 puts ("This program is distributed under the same terms as Emacs.");
3691 exit (0); 3691 exit (EXIT_SUCCESS);
3692} 3692}
3693 3693
3694 3694
@@ -3925,7 +3925,7 @@ main (argc, argv)
3925 if (yyout == NULL) 3925 if (yyout == NULL)
3926 { 3926 {
3927 yyerror ("cannot open output file `%s'", out_filename); 3927 yyerror ("cannot open output file `%s'", out_filename);
3928 exit (1); 3928 exit (EXIT_FAILURE);
3929 } 3929 }
3930 } 3930 }
3931 3931
@@ -3970,11 +3970,10 @@ main (argc, argv)
3970 if (yyout != stdout) 3970 if (yyout != stdout)
3971 fclose (yyout); 3971 fclose (yyout);
3972 3972
3973 return 0; 3973 return EXIT_SUCCESS;
3974} 3974}
3975 3975
3976
3977/* ebrowse.c ends here. */
3978
3979/* arch-tag: fc03b4bc-91a9-4c3d-b3b9-12a77fa86dd8 3976/* arch-tag: fc03b4bc-91a9-4c3d-b3b9-12a77fa86dd8
3980 (do not change this comment) */ 3977 (do not change this comment) */
3978
3979/* ebrowse.c ends here */