From a1c494f176ff7a376fe069a238b7a06b835d3584 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 4 Feb 2021 12:23:58 +0100 Subject: pluma: Use EXIT_SUCCESS macro instead of int value (portability) --- pluma/pluma.c | 8 ++++---- 1 file 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; } -- cgit v1.2.1