pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b81888e
)
use math.h for ceilf
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Fri, 9 Mar 2018 14:36:38 +0000
(15:36 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Fri, 9 Mar 2018 14:36:38 +0000
(15:36 +0100)
x.c
patch
|
blob
|
history
diff --git
a/x.c
b/x.c
index
537322b
..
d43a529
100644
(file)
--- a/
x.c
+++ b/
x.c
@@
-1,5
+1,6
@@
/* See LICENSE for license details. */
#include <errno.h>
+#include <math.h>
#include <limits.h>
#include <locale.h>
#include <signal.h>
@@
-901,7
+902,6
@@
xloadfonts(char *fontstr, double fontsize)
{
FcPattern *pattern;
double fontval;
- float ceilf(float);
if (fontstr[0] == '-') {
pattern = XftXlfdParse(fontstr, False, False);