diff options
author | hselasky <hselasky@FreeBSD.org> | 2017-04-04 12:00:25 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-04-04 12:16:05 +0200 |
commit | d3f9311fff9e16241590f0bc10cf5466f04b40b7 (patch) | |
tree | ca06d8e63d88c875bf8758421d6befb343865026 /newlib | |
parent | a36e348a9f6d8ec690b827a3ea2e0ef9814579f7 (diff) | |
download | cygnal-d3f9311fff9e16241590f0bc10cf5466f04b40b7.tar.gz cygnal-d3f9311fff9e16241590f0bc10cf5466f04b40b7.tar.bz2 cygnal-d3f9311fff9e16241590f0bc10cf5466f04b40b7.zip |
Fix order of arguments in the TRACEBUF_INITIALIZER
Fix order of arguments in the TRACEBUF_INITIALIZER macro so that we can
define QUEUE_MACRO_DEBUG to debug list problems.
MFC after: 1 week
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/include/sys/queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/queue.h b/newlib/libc/include/sys/queue.h index 7a5bc7996..d9908a459 100644 --- a/newlib/libc/include/sys/queue.h +++ b/newlib/libc/include/sys/queue.h @@ -116,7 +116,7 @@ struct qm_trace { }; #define TRACEBUF struct qm_trace trace; -#define TRACEBUF_INITIALIZER { __FILE__, __LINE__, NULL, 0 } , +#define TRACEBUF_INITIALIZER { __LINE__, 0, __FILE__, NULL } , #define TRASHIT(x) do {(x) = (void *)-1;} while (0) #define QMD_SAVELINK(name, link) void **name = (void *)&(link) |