public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] mount()/umount() prototypes
@ 2003-09-05 12:19 Thomas Koeller
  0 siblings, 0 replies; only message in thread
From: Thomas Koeller @ 2003-09-05 12:19 UTC (permalink / raw)
  To: ecos-discuss

Hi,

there appears to be no header file that implements prototypes for mount() and umount().
When I build for the linux synthetic target and have '#include <sys/mount.h>' in my
program, everything works because '-nostdinc' is not among the compiler switches
by default. However, if I compile for my real target then there is no such header, and
after I remove the '#include', I get warnings about implicit declarations.

I found that mount() and umount() are both implemented in io/fileio/current/src/misc.cxx,
but even there no header is included that defines prototypes for them. Am I missing
something here? If not, should I provide a patch adding sys/mount.h? And what about the
compiler options for the synthetic target, shouldn't they include '-nostdinc'?

tk

-- 

Thomas Koeller, Software Development

Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany

Tel +49 (4102) 463-162
Fax +49 (4102) 463-239

mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com

==============================


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-05 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-05 12:19 [ECOS] mount()/umount() prototypes Thomas Koeller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).