[gnumeric] Compilation: kill warning
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Compilation: kill warning
- Date: Fri, 16 Nov 2018 22:13:49 +0000 (UTC)
commit 76e06d9c3a00cff7208198d60b0efaca83a25c03
Author: Morten Welinder <terra gnome org>
Date: Fri Nov 16 17:12:59 2018 -0500
Compilation: kill warning
We don't use random() anymore so don't set feature bits for glibc to
get it.
src/gnm-random.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/gnm-random.c b/src/gnm-random.c
index 3de55f017..4d9d34ba7 100644
--- a/src/gnm-random.c
+++ b/src/gnm-random.c
@@ -1,7 +1,3 @@
-/* for random() */
-#define _SVID_SOURCE 1
-#define _BSD_SOURCE 1
-
#include <gnumeric-config.h>
#include <gnumeric.h>
#include <gnm-random.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]