Allow fio headers to be included by a C++ build
authorDaniel Rall <dlr@google.com>
Wed, 10 Sep 2008 06:56:01 +0000 (08:56 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 10 Sep 2008 06:56:01 +0000 (08:56 +0200)
commit2b52511f3f595e0932e7f9c55bed243e8fe0f4f8
tree06d7338b9ef0f86cfc71040ddd99d3aa10d9c59f
parentde79c9158eae1459970e0df6efc6a2b09d920f15
Allow fio headers to be included by a C++ build

The attached patch allows fio 1.17.2 header files to be included by a
C++ build without generating compile errors due to C-ism.
Specifically, due to:
- use of the keyword "new" as a parameter name
- a cast of a return value to void *, when the function signature
returns a different type

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
flist.h
os/os-linux.h