- Timestamp:
- 2013-09-14T19:39:45Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3f03199, b7adc22
- Parents:
- 9e59c3b8 (diff), d7b7f5e (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. - Location:
- uspace
- Files:
-
- 9 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile
r9e59c3b8 r1c0cef0 42 42 app/dnscfg \ 43 43 app/dnsres \ 44 app/download \ 44 45 app/edit \ 45 46 app/getterm \ … … 234 235 lib/gui \ 235 236 lib/hound \ 237 lib/http \ 236 238 lib/softrend \ 237 239 lib/draw \ … … 239 241 lib/nic \ 240 242 lib/ext4 \ 243 lib/uri \ 241 244 lib/usb \ 242 245 lib/usbhost \ -
uspace/Makefile.common
r9e59c3b8 r1c0cef0 141 141 LIBBITHENGE_PREFIX = $(LIB_PREFIX)/bithenge 142 142 143 LIBHTTP_PREFIX = $(LIB_PREFIX)/http 144 LIBURI_PREFIX = $(LIB_PREFIX)/uri 145 143 146 ifeq ($(STATIC_NEEDED),y) 144 147 STATIC_BUILD = y -
uspace/app/wavplay/drec.c
r9e59c3b8 r1c0cef0 213 213 wave_header_t header; 214 214 fseek(rec.file, sizeof(header), SEEK_SET); 215 const char *error; 216 if (ret != EOK) { 217 printf("Error parsing wav header: %s.\n", error); 215 if (ret != EOK) { 216 printf("Error parsing wav header\n"); 218 217 goto cleanup; 219 218 } -
uspace/lib/c/generic/io/asprintf.c
r9e59c3b8 r1c0cef0 50 50 } 51 51 52 int vprintf_size(const char *fmt, va_list args) 53 { 54 printf_spec_t ps = { 55 asprintf_str_write, 56 asprintf_wstr_write, 57 NULL 58 }; 59 60 return printf_core(fmt, &ps, args); 61 } 62 63 int printf_size(const char *fmt, ...) 64 { 65 va_list args; 66 va_start(args, fmt); 67 int ret = vprintf_size(fmt, args); 68 va_end(args); 69 70 return ret; 71 } 72 52 73 /** Allocate and print to string. 53 74 * … … 61 82 int asprintf(char **strp, const char *fmt, ...) 62 83 { 63 printf_spec_t ps = {64 asprintf_str_write,65 asprintf_wstr_write,66 NULL67 };68 69 84 va_list args; 70 85 va_start(args, fmt); 71 72 int ret = printf_core(fmt, &ps, args); 86 int ret = vprintf_size(fmt, args); 73 87 va_end(args); 74 88 -
uspace/lib/c/include/stdio.h
r9e59c3b8 r1c0cef0 124 124 extern int vsnprintf(char *, size_t, const char *, va_list); 125 125 126 extern int printf_size(const char *, ...) 127 PRINTF_ATTRIBUTE(1, 2); 128 extern int vprintf_size(const char *, va_list); 129 126 130 /* File stream functions */ 127 131 extern FILE *fopen(const char *, const char *);
Note:
See TracChangeset
for help on using the changeset viewer.