summaryrefslogtreecommitdiff
path: root/pluma
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-04 12:23:58 +0100
committerraveit65 <[email protected]>2021-03-10 23:24:38 +0100
commita1c494f176ff7a376fe069a238b7a06b835d3584 (patch)
tree2e5e2ae997027b3c6c4855758964088b611e8137 /pluma
parent5857a0babe4373249e00056dd3dfac216aa01050 (diff)
downloadpluma-a1c494f176ff7a376fe069a238b7a06b835d3584.tar.bz2
pluma-a1c494f176ff7a376fe069a238b7a06b835d3584.tar.xz
pluma: Use EXIT_SUCCESS macro instead of int value (portability)
Diffstat (limited to 'pluma')
-rw-r--r--pluma/pluma.c8
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;
}