about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-03-30 17:38:13 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-03-30 17:38:13 +0200
commit1ec606540eb0f474f3d968d3566a7c56d778a367 (patch)
treebfe33ebccfc5f2e020a2bcf4908edbbfcc5791f4 /src/ui
parent3c1e4bac3ae640bc4c451d7d4a1c06146e13a15a (diff)
downloadprofani-tty-1ec606540eb0f474f3d968d3566a7c56d778a367.tar.gz
Get rid of asprintf and _GNU_SOURCE define
_GNU_SOURCE was even in some files where it was not needed at all
(http*).

Let's replace asprintf() with g_strdup_printf().
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/mucwin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c
index aa692ff6..bd67b53f 100644
--- a/src/ui/mucwin.c
+++ b/src/ui/mucwin.c
@@ -37,7 +37,6 @@
 #include "config.h"
 
 #include "ui.h"
-#define _GNU_SOURCE 1
 
 #include <string.h>
 #include <assert.h>