Rewriting the G_GNUC_NORETURN into G_NORETURN macros everywhere

This commit is contained in:
Emmanuel Fleury
2019-09-03 19:43:41 +02:00
committed by Philip Withnall
parent c1d74e35c1
commit 76426c0158
7 changed files with 10 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ static const gchar *info = NULL;
static GCancellable *cancellable = NULL;
static gint return_value = 0;
static void G_GNUC_NORETURN
static G_NORETURN void
usage (void)
{
fprintf (stderr, "Usage: proxy [-s] (uri|host:port|ip:port|path|srv/protocol/domain)\n");

View File

@@ -40,7 +40,7 @@ static gboolean synchronous = FALSE;
static guint connectable_count = 0;
static GResolverRecordType record_type = 0;
static void G_GNUC_NORETURN
static G_NORETURN void
usage (void)
{
fprintf (stderr, "Usage: resolver [-s] [hostname | IP | service/protocol/domain ] ...\n");