From owner-freebsd-scsi Thu Jul 30 22:05:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA01473 for freebsd-scsi-outgoing; Thu, 30 Jul 1998 22:05:27 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from singularity.enigami.com (singularity.enigami.com [208.140.182.42]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA01451 for ; Thu, 30 Jul 1998 22:05:22 -0700 (PDT) (envelope-from ckempf@singularity.enigami.com) Received: (from ckempf@localhost) by singularity.enigami.com (8.9.1/8.9.1) id BAA28242; Fri, 31 Jul 1998 01:05:16 -0400 (EDT) To: freebsd-scsi@FreeBSD.ORG Subject: camlib.h bugs X-Copyright: Copyright (C) 1998 Cory Kempf. All Rights Reserved X-PGP-Fingerprint: 191E 2FB7 E27D 76C3 8E79 4D26 2B3B B20F 2A9C 1E1A X-PGP-Keyloc: ; finger ckempf@enigami.com From: Cory Kempf Date: 31 Jul 1998 01:05:16 -0400 Message-ID: Lines: 28 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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: Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message