mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 08:23:38 +02:00
Rewriting the G_GNUC_NORETURN into G_NORETURN macros everywhere
This commit is contained in:
committed by
Philip Withnall
parent
c1d74e35c1
commit
76426c0158
@@ -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");
|
||||
|
@@ -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");
|
||||
|
Reference in New Issue
Block a user