workqueue: rename private to priv for compiling as c++
authorCasey Bodley <cbodley@redhat.com>
Mon, 11 Jul 2016 20:47:47 +0000 (16:47 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 11 Jul 2016 20:52:34 +0000 (16:52 -0400)
commitb86ad8f1c3845419742715e94526f60e1e2bf596
treee72436c425909fbf9b8159ac8fcfc16e7796afce
parent60a257279f249d65d9905e77d3a2fa54ac5aa881
workqueue: rename private to priv for compiling as c++

Given the main.cc source file:
  #include <fio.h>
  int main() { return 0; }

And the gcc command line:
  gcc main.cc -Ifio -DCONFIG_HAVE_BOOL

In file included from ./ioengine.h:10:0,
                 from ./iolog.h:7,
                 from ./stat.h:4,
                 from ./thread_options.h:7,
                 from ./fio.h:18,
                 from main.cc:1:
./workqueue.h:19:8: error: expected unqualified-id before ‘private’
  void *private;
        ^
./workqueue.h:19:7: error: expected ‘;’ at end of member declaration
  void *private;
       ^
./workqueue.h:19:15: error: expected ‘:’ before ‘;’ token
  void *private;
               ^

Signed-off-by: Casey Bodley <cbodley@redhat.com>
rate-submit.c
workqueue.h