[mutter/wip/lantw/gethostname: 3/3] display: Remove _XOPEN_SOURCE definition
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/lantw/gethostname: 3/3] display: Remove _XOPEN_SOURCE definition
- Date: Sun, 23 Jun 2019 16:06:49 +0000 (UTC)
commit fe70352c83e7350c2ce6bb46d5e84a340f875edd
Author: Ting-Wei Lan <lantw src gnome org>
Date: Mon Jun 24 00:03:52 2019 +0800
display: Remove _XOPEN_SOURCE definition
There is no gethostname call in this file.
src/core/display.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index d5024e5cb..8e3f93a42 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -28,8 +28,6 @@
* The display is represented as a #MetaDisplay struct.
*/
-#define _XOPEN_SOURCE 600 /* for gethostname() */
-
#include "config.h"
#include <stdlib.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]