diff options
author | rbuj <[email protected]> | 2021-02-04 12:23:58 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-03-10 23:24:38 +0100 |
commit | a1c494f176ff7a376fe069a238b7a06b835d3584 (patch) | |
tree | 2e5e2ae997027b3c6c4855758964088b611e8137 | |
parent | 5857a0babe4373249e00056dd3dfac216aa01050 (diff) | |
download | pluma-a1c494f176ff7a376fe069a238b7a06b835d3584.tar.bz2 pluma-a1c494f176ff7a376fe069a238b7a06b835d3584.tar.xz |
pluma: Use EXIT_SUCCESS macro instead of int value (portability)
-rw-r--r-- | pluma/pluma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pluma/pluma.c b/pluma/pluma.c index 2eeaed48..82766cfb 100644 --- a/pluma/pluma.c +++ b/pluma/pluma.c @@ -83,7 +83,7 @@ show_version_and_quit (void) { g_print ("%s - Version %s\n", g_get_application_name (), VERSION); - exit (0); + exit (EXIT_SUCCESS); } static void @@ -99,7 +99,7 @@ list_encodings_and_quit (void) ++i; } - exit (0); + exit (EXIT_SUCCESS); } static const GOptionEntry options [] = @@ -563,7 +563,7 @@ main (int argc, char *argv[]) bacon_message_connection_free (connection); - exit (0); + exit (EXIT_SUCCESS); } else { @@ -651,6 +651,6 @@ main (int argc, char *argv[]) pluma_metadata_manager_shutdown (); #endif - return 0; + return EXIT_SUCCESS; } |