chiark / gitweb /
log: move #pragma around the function
authorMichal Schmidt <mschmidt@redhat.com>
Thu, 19 Jan 2012 12:00:34 +0000 (13:00 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Thu, 19 Jan 2012 12:00:34 +0000 (13:00 +0100)
commita3f914b2a21decb0c4bd7a763ddd3ace215091cb
tree75365574832311ce93a52cff84d5db1b85a10793
parent891703e1eef9f9850c7bd34b6d9df0e6c2c8a939
log: move #pragma around the function

Koen reported errors with gcc 4.5.4 for arm:
src/log.c:624:9: error: #pragma GCC diagnostic not allowed inside
functions
src/log.c