From c5fa3dd0f29f669d8495f3500ec82851a28e21ce Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Sun, 5 Feb 2012 02:51:55 -0500 Subject: Better variable names --- src/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.c b/src/main.c index 1cff0f5..7463fd3 100644 --- a/src/main.c +++ b/src/main.c @@ -31,7 +31,7 @@ static gboolean debug = FALSE; -static GOptionEntry entries[] = +static GOptionEntry option_entries[] = { { "debug", 0, 0, G_OPTION_ARG_NONE, &debug, "Enable debugging messages", NULL }, { NULL } @@ -51,15 +51,15 @@ gint main (gint argc, gchar *argv[]) { GError *error = NULL; - GOptionContext *context; + GOptionContext *option_context; GMainLoop *loop = NULL; g_type_init (); g_log_set_default_handler (log_handler, NULL); - context = g_option_context_new ("- system settings D-Bus service for OpenRC"); - g_option_context_add_main_entries (context, entries, NULL); - if (!g_option_context_parse (context, &argc, &argv, &error)) { + option_context = g_option_context_new ("- system settings D-Bus service for OpenRC"); + g_option_context_add_main_entries (option_context, option_entries, NULL); + if (!g_option_context_parse (option_context, &argc, &argv, &error)) { g_printerr ("Failed to parse options: %s\n", error->message); exit (1); } -- cgit v1.2.3-65-gdbad