summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/box_construct.c1
-rw-r--r--render/form.c1
-rw-r--r--render/html.c2
-rw-r--r--render/hubbub_binding.c1
-rw-r--r--render/layout.c1
5 files changed, 0 insertions, 6 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 71d30ddae..a5ceb2884 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -24,7 +24,6 @@
* Conversion of XML tree to box tree (implementation).
*/
-#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
diff --git a/render/form.c b/render/form.c
index b81d2ca34..9584aa244 100644
--- a/render/form.c
+++ b/render/form.c
@@ -23,7 +23,6 @@
* Form handling functions (implementation).
*/
-#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <ctype.h>
#include <limits.h>
diff --git a/render/html.c b/render/html.c
index 0061ce925..51e466591 100644
--- a/render/html.c
+++ b/render/html.c
@@ -20,8 +20,6 @@
* Content for text/html (implementation).
*/
-#define _GNU_SOURCE /* for strndup() */
-
#include <assert.h>
#include <ctype.h>
#include <stdint.h>
diff --git a/render/hubbub_binding.c b/render/hubbub_binding.c
index 1d8af25ca..fc0a31944 100644
--- a/render/hubbub_binding.c
+++ b/render/hubbub_binding.c
@@ -17,7 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <stdbool.h>
#include <string.h>
diff --git a/render/layout.c b/render/layout.c
index 336be3e83..93818723f 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -31,7 +31,6 @@
* layout_minmax_X() and layout_X().
*/
-#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <limits.h>
#include <stdbool.h>