Mostly portability issues from or inspired by mog's changes for XBOX.
image/*.c: initialize func structure to 0 (NULL). include/cdio/*.h: add "extern C" for C++ compilations where appropriate.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
$Id: logging.h,v 1.9 2004/09/04 23:49:47 rocky Exp $
|
||||
$Id: logging.h,v 1.10 2004/10/31 06:07:26 rocky Exp $
|
||||
|
||||
Copyright (C) 2000, Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2003, Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -29,6 +29,10 @@
|
||||
|
||||
#include <cdio/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The different log levels supported.
|
||||
*/
|
||||
@@ -117,6 +121,10 @@ void cdio_warn (const char format[], ...) GNUC_PRINTF(1,2);
|
||||
*/
|
||||
void cdio_error (const char format[], ...) GNUC_PRINTF(1,2);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __LOGGING_H__ */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user