Changeset 2965d18 in mainline for uspace/lib/c/include/io/kio.h
- Timestamp:
- 2018-07-30T20:15:38Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d4b7b29
- Parents:
- 8080262
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-30 19:53:13)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-30 20:15:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/io/kio.h
r8080262 r2965d18 49 49 extern int kio_vprintf(const char *, va_list); 50 50 51 /* 52 * In some files, we have conditional DPRINTF(...) macro that is defined empty 53 * in most cases. Provide a dummy printf so we get argument checking and 54 * avoid unused variable errors. 55 */ 56 57 static inline int dummy_printf(const char *fmt, ...) _HELENOS_PRINTF_ATTRIBUTE(1, 2); 58 static inline int dummy_printf(const char *fmt, ...) 59 { 60 /* Empty. */ 61 (void) fmt; 62 return 0; 63 } 64 51 65 #endif 52 66
Note:
See TracChangeset
for help on using the changeset viewer.