Commit Graph

7 Commits

Author SHA1 Message Date
Stuart Brady
4fe14a678b Use a consistent definition of bool
Since _Bool is only ever a keyword and not a macro, and we can't
test for HAVE_STDBOOL_H in the headers, remove the #ifdef for it in
<cdio/types.h> and instead, simply define it as 'int'.  Replace
inclusion of <stdbool.h> with <cdio/types.h> so that a consistent
definition of bool is used.

Signed-off-by: Natalia Portillo <claunia@claunia.com>
2012-04-30 23:55:06 +01:00
R. Bernstein
511ad638b1 More small header changes:
* Remove leading underscores in header preprocessor names
* Regularize names to include directory parts in the file name
* Untabify files
* Update copyright and remove unmaintained cvs $Id$ line

The justification for removing leading underscores comes from a CERTS Secure Coding recommendation: https://www.securecoding.cert.org/confluence/display/cplusplus/DCL32-CPP.+Do+not+declare+or+define+a+reserved+identifier

See also Savannah bug #35745 https://savannah.gnu.org/bugs/?35745
2012-03-25 17:18:48 -04:00
R. Bernstein
316fb2408f Reduce differences in pbatard branch for headers. (Still need to add empty array/union differences). 2012-03-03 08:48:43 -05:00
R. Bernstein
1a7366c674 types.h: gcc before 4.5 has a no-argument form of deprecated.
device.h: use LIBCIO_DEPRECATED macro rather than assume gcc.
2012-02-24 05:10:24 -05:00
rocky
f2438edcbc Add ISRC track info to cd-info output. Code from Scot C. Bontrager. 2011-05-18 09:48:03 -04:00
R. Bernstein
e281b22c3c Add type definition for SCSI sense data. 2010-02-03 04:53:25 -05:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00