From: Mike F. <va...@ge...> - 2009-07-21 21:29:05
|
On Tuesday 21 July 2009 10:21:44 Garrett Cooper wrote: > I was tempted to fix the format string error, but I don't know what > the potential implications are of switching the data type from > u_int64_t to unsigned long long... dont do that. just use the proper format string from inttypes.h. uint64_t f; printf("f = %"PRIu64"\n", f); > +/* Dummy function reference to avoid compiler warning from > linux_syscall_numbers.h. */ > +extern void cleanup() { } this is incorrect for a few reasons. it should read: +/* Dummy function as syscall() from linux_syscall_numbers.h uses cleanup() */ void cleanup() { } -mike |