Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2017 21:37:41 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326585 - head/stand/ficl
Message-ID:  <201712052137.vB5Lbfid023856@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Dec  5 21:37:41 2017
New Revision: 326585
URL: https://svnweb.freebsd.org/changeset/base/326585

Log:
  Include ficl.h before anything else and avoid including anything at
  all if we're not building float.
  
  Sponsored by: Netflix

Modified:
  head/stand/ficl/float.c

Modified: head/stand/ficl/float.c
==============================================================================
--- head/stand/ficl/float.c	Tue Dec  5 21:37:32 2017	(r326584)
+++ head/stand/ficl/float.c	Tue Dec  5 21:37:41 2017	(r326585)
@@ -43,14 +43,14 @@
 
 /* $FreeBSD$ */
 
+#include "ficl.h"
+
+#if FICL_WANT_FLOAT
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
 #include <math.h>
-#include "ficl.h"
-
-#if FICL_WANT_FLOAT
 
 /*******************************************************************
 ** Do float addition r1 + r2.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712052137.vB5Lbfid023856>