diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-09 15:36:38 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-09 15:36:38 +0100 |
commit | c5ba9c025b7ebc34979e839453528f6e4a18712d (patch) | |
tree | 3333fb009b739545dcb0af03f87b9352dac906bc | |
parent | b81888ee7d95d9ecb7b1749630b09a96065a8fea (diff) | |
download | st-patched-c5ba9c025b7ebc34979e839453528f6e4a18712d.tar.bz2 st-patched-c5ba9c025b7ebc34979e839453528f6e4a18712d.tar.xz st-patched-c5ba9c025b7ebc34979e839453528f6e4a18712d.zip |
use math.h for ceilf
-rw-r--r-- | x.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,5 +1,6 @@ | |||
1 | /* See LICENSE for license details. */ | 1 | /* See LICENSE for license details. */ |
2 | #include <errno.h> | 2 | #include <errno.h> |
3 | #include <math.h> | ||
3 | #include <limits.h> | 4 | #include <limits.h> |
4 | #include <locale.h> | 5 | #include <locale.h> |
5 | #include <signal.h> | 6 | #include <signal.h> |
@@ -901,7 +902,6 @@ xloadfonts(char *fontstr, double fontsize) | |||
901 | { | 902 | { |
902 | FcPattern *pattern; | 903 | FcPattern *pattern; |
903 | double fontval; | 904 | double fontval; |
904 | float ceilf(float); | ||
905 | 905 | ||
906 | if (fontstr[0] == '-') { | 906 | if (fontstr[0] == '-') { |
907 | pattern = XftXlfdParse(fontstr, False, False); | 907 | pattern = XftXlfdParse(fontstr, False, False); |