[hackers] [st] use math.h for ceilf || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Fri, 9 Mar 2018 15:37:41 +0100 (CET)

commit c5ba9c025b7ebc34979e839453528f6e4a18712d
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Fri Mar 9 15:36:38 2018 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Fri Mar 9 15:36:38 2018 +0100

    use math.h for ceilf

diff --git a/x.c b/x.c
index 537322b..d43a529 100644
--- a/x.c
+++ b/x.c
_AT_@ -1,5 +1,6 @@
 /* See LICENSE for license details. */
 #include <errno.h>
+#include <math.h>
 #include <limits.h>
 #include <locale.h>
 #include <signal.h>
_AT_@ -901,7 +902,6 @@ xloadfonts(char *fontstr, double fontsize)
 {
         FcPattern *pattern;
         double fontval;
- float ceilf(float);
 
         if (fontstr[0] == '-') {
                 pattern = XftXlfdParse(fontstr, False, False);
Received on Fri Mar 09 2018 - 15:37:41 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 09 2018 - 15:51:39 CET