summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2016-09-09 14:35:44 -0700
committerGary E. Miller <gem@rellim.com>2016-09-22 17:45:49 -0700
commit3ca6b7cc6908d69a508b82f0d089f70fe869aa23 (patch)
tree7a578d4fc8132f7cc6fc0781b3f75c4108fb2824 /libgpsd_core.c
parent2bee7932e24a6cbb7454a81ecc85170049b725d7 (diff)
downloadgpsd-3ca6b7cc6908d69a508b82f0d089f70fe869aa23.tar.gz
Removes obsolete flag tweak related to alloca().
There's no longer any need for an alloca() prototype, now that alloca() is gone. TESTED: Ran "scons build-all check" on OSX 10.9, Ubuntu 14.04, and CentOS 7. Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 62631424..ddb22a6d 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -21,12 +21,8 @@
/* strlcpy() needs _DARWIN_C_SOURCE */
#define _DARWIN_C_SOURCE
-
#include <time.h>
#include <stdio.h>
-
-/* alloca() in stdlib.h needs __USE_MISC on Linux */
-#define __USE_MISC
#include <stdlib.h>
#include <stdbool.h>