Changeset 4777
- Timestamp:
- 05/20/07 00:14:03 (2 years ago)
- Files:
-
- libwired/trunk/libwired/misc/wi-test.c (modified) (3 diffs)
- libwired/trunk/libwired/p7/wi-p7-spec.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libwired/trunk/libwired/misc/wi-test.c
r4653 r4777 49 49 50 50 51 static void _wi_tests_assert_handler( wi_string_t *, wi_uinteger_t, wi_string_t *, ...);51 static void _wi_tests_assert_handler(const char *, unsigned int, wi_string_t *, ...); 52 52 53 53 static wi_test_t * _wi_test_alloc(void); … … 161 161 #pragma mark - 162 162 163 static void _wi_tests_assert_handler( wi_string_t *file, wi_uinteger_t line, wi_string_t *fmt, ...) {163 static void _wi_tests_assert_handler(const char *file, unsigned int line, wi_string_t *fmt, ...) { 164 164 wi_string_t *string; 165 165 va_list ap; … … 169 169 va_end(ap); 170 170 171 wi_log_warn(WI_STR("%@:%u: %@"), wi_string_last_path_component( file), line, string);171 wi_log_warn(WI_STR("%@:%u: %@"), wi_string_last_path_component(wi_string_with_cstring(file)), line, string); 172 172 173 173 wi_release(string); libwired/trunk/libwired/p7/wi-p7-spec.c
r4774 r4777 468 468 469 469 static wi_p7_spec_t * _wi_p7_spec_init(wi_p7_spec_t *p7_spec) { 470 wi_hash_key_callbacks_t key_callbacks = {471 NULL,472 NULL,473 NULL,474 NULL,475 NULL476 };477 478 470 p7_spec->compatible_protocols = wi_set_init(wi_set_alloc()); 479 471
