From: "Steven J. Hill" <sjhill@cotw.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Question on including 'math.h' from C runtime...
Date: Tue, 01 May 2001 22:17:23 -0500 [thread overview]
Message-ID: <3AEF7C43.9955C970@cotw.com> (raw)
Greetings.
I checked in the archives and did not see a discussion of this
anywhere. I have received some Linux kernel code from a project
that I have inherited and a couple of the drivers are including
math.h from the C library. This being the header file from
'/usr/include/math.h' in most cases. There are only two places
in the kernel that also include this header file. They are:
drivers/atm/iphase.c
drivers/net/hamradio/soundmodem/gentbl.c
As far as I can tell '/usr/include/math.h' is just full of
defines and the header files it includes are also a bunch
of defines with a few macro functions sprinkled in. Can someone
shed light on if this is bad or not and why it would be done
or necessary? Thanks.
-Steve
--
Steven J. Hill - Embedded SW Engineer
Public Key: 'http://www.cotw.com/pubkey.txt'
FPR1: E124 6E1C AF8E 7802 A815
FPR2: 7D72 829C 3386 4C4A E17D
next reply other threads:[~2001-05-02 3:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-02 3:17 Steven J. Hill [this message]
2001-05-02 3:28 ` Question on including 'math.h' from C runtime Horst von Brand
2001-05-02 11:18 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AEF7C43.9955C970@cotw.com \
--to=sjhill@cotw.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.