Changeset 1636 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Mar 22, 2007 5:30:13 PM (18 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/audio.h
r355 r1636 107 107 void AUD_vlog (const char *cap, const char *fmt, va_list ap); 108 108 void AUD_log (const char *cap, const char *fmt, ...) 109 #if def __GNUC__109 #if defined (__GNUC__) && !defined (VBOX) /* VBox: oh, please, shut up. */ 110 110 __attribute__ ((__format__ (__printf__, 2, 3))) 111 111 #endif -
trunk/src/VBox/Devices/Audio/audio_int.h
r366 r1636 245 245 } 246 246 247 #if defined __GNUC__ 247 #if defined __GNUC__ && !defined VBOX /* VBox: oh, please, just shut up. */ 248 248 #define GCC_ATTR __attribute__ ((__unused__, __format__ (__printf__, 1, 2))) 249 249 #if __STDC_VERSION__ > 199901L … … 259 259 #endif 260 260 261 #ifndef VBOX 261 262 static void GCC_ATTR dolog (const char *fmt, ...) 263 #else 264 DECLINLINE(void) GCC_ATTR dolog (const char *fmt, ...) /* shuts up unused warnings. */ 265 #endif 262 266 { 263 267 va_list ap; … … 283 287 #define ldebug __noop 284 288 #else 289 #ifndef VBOX 285 290 static void GCC_ATTR ldebug (const char *fmt, ...) 291 #else 292 DECLINLINE(void) GCC_ATTR ldebug (const char *fmt, ...) /* shuts up unused warnings. */ 293 #endif 286 294 { 287 295 (void) fmt;
Note:
See TracChangeset
for help on using the changeset viewer.