Skip site navigation (1)Skip section navigation (2)
Date:      31 Jul 1998 01:05:16 -0400
From:      Cory Kempf <ckempf@enigami.com>
To:        freebsd-scsi@FreeBSD.ORG
Subject:   camlib.h bugs
Message-ID:  <x73ebiy5ir.fsf@singularity.enigami.com>

next in thread | raw e-mail | index | archive | help
camlib.h is missing the lines

__BEGIN_DECLS
__END_DECLS

around the functions declared therein.  Spot checks show that other .h 
files are likewising missing these macros.

Without these macros, the files won't link when called from C++.

If you look in other include files (e.g. stdio.h), these macros are
present.


cam_open_device accepts flags for its second parameter.  It would be
nice if camlib.h included fcntl.h where these flags are defined.


+C



-- 
Thinking of purchasing RAM from the Chip Merchant?  
Please read this first: <http://www.enigami.com/~ckempf/chipmerchant.html>;

Cory Kempf                Macintosh / Unix Consulting & Software Development
ckempf@enigami.com        <http://www.enigami.com/~ckempf/>;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



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