Changeset eb522e8 in mainline for boot/generic/include/printf.h
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/generic/include/printf.h
r9e2e715 reb522e8 36 36 #include <stdarg.h> 37 37 38 #ifndef NVERIFY_PRINTF 39 40 #define PRINTF_ATTRIBUTE(start, end) \ 41 __attribute__((format(gnu_printf, start, end))) 42 43 #else /* NVERIFY_PRINTF */ 44 45 #define PRINTF_ATTRIBUTE(start, end) 46 47 #endif /* NVERIFY_PRINTF */ 48 38 49 #define EOF (-1) 39 50 40 51 extern int puts(const char *); 41 extern int printf(const char *, ...); 52 extern int printf(const char *, ...) 53 PRINTF_ATTRIBUTE(1, 2); 42 54 extern int vprintf(const char *, va_list); 43 55
Note:
See TracChangeset
for help on using the changeset viewer.