Suppress gcc 8 compiler warnings
authorBart Van Assche <bart@localhost.localdomain>
Tue, 5 Jun 2018 16:16:30 +0000 (18:16 +0200)
committerBart Van Assche <bart.vanassche@wdc.com>
Tue, 5 Jun 2018 16:29:01 +0000 (18:29 +0200)
commitb4d2bc70d92544abc953b7c10fadf0267b87c341
treeddbccd91904ec426e83dff65a219c17c37abf383
parent85e99d6e24dc92eb2b69fd568bafdd5da6e1d872
Suppress gcc 8 compiler warnings

Introduce a new function nowarn_snprintf() that behaves identically
to snprintf() except that it does not make gcc complain about potential
truncation of the output buffer.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
diskutil.c
fio.h
nowarn_snprintf.h [new file with mode: 0644]
verify-state.h