projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
220a0c4
)
spreadlevel-plot: Fix missing #include <stdlib.h>
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 4 Apr 2012 04:14:03 +0000
(21:14 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 4 Apr 2012 04:14:03 +0000
(21:14 -0700)
Reported by GCC:
spreadlevel-plot.c: In function ‘spreadlevel_plot_chart_destroy’:
spreadlevel-plot.c:84: error: implicit declaration of function
‘free’
preadlevel-plot.c:84: error: incompatible implicit declaration of
built-in function ‘free’
src/output/charts/spreadlevel-plot.c
patch
|
blob
|
history
diff --git
a/src/output/charts/spreadlevel-plot.c
b/src/output/charts/spreadlevel-plot.c
index 8fcc0bdeebfa8856accf15ae6e1e3e7974526084..d5b6e3d01a33aa483f6968fd9493a9fffca30a2a 100644
(file)
--- a/
src/output/charts/spreadlevel-plot.c
+++ b/
src/output/charts/spreadlevel-plot.c
@@
-26,6
+26,7
@@
#include <math.h>
#include <float.h>
+#include <stdlib.h>
struct chart_item *
spreadlevel_plot_create (const char *label, double tx_pwr)