Date: Wed, 13 Nov 2002 14:04:31 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 21044 for review Message-ID: <200211132204.gADM4V3a072362@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21044 Change 21044 by jhb@jhb_laptop on 2002/11/13 14:04:22 Bah. Whoever in C99-land dreamed up use of variadic macro args didn't actually use their little noggin to do so, so I have to use a gcc-ism to fix. Morons. Affected files ... .. //depot/projects/smpng/sys/sys/lock.h#22 edit Differences ... ==== //depot/projects/smpng/sys/sys/lock.h#22 (text+ko) ==== @@ -237,7 +237,7 @@ witness_unlock((lock), (flags), (file), (line)) #define WITNESS_WARN(flags, lock, fmt, ...) \ - witness_warn((flags), (lock), __FILE__, __LINE__, (fmt), __VA_ARGS__) + witness_warn((flags), (lock), __FILE__, __LINE__, (fmt), ## __VA_ARGS__) #define WITNESS_SAVE_DECL(n) \ const char * __CONCAT(n, __wf); \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211132204.gADM4V3a072362>