crypto: move 'opaque' parameter to (nearly) the end of parameter list
commite4a3507e86a1ef1453d603031bca27d5ac4cff3c
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 24 Apr 2017 15:33:15 +0000 (24 16:33 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 9 May 2017 13:41:47 +0000 (9 14:41 +0100)
treeb5c8be68a0b8ed57d98ea8b273304ae1af0d9e09
parent899833cd65cafbdbae4b5b9da3b1c3726e13e299
crypto: move 'opaque' parameter to (nearly) the end of parameter list

Previous commit moved 'opaque' to be the 2nd parameter in the list:

  commit 375092332eeaa6e47561ce47fd36144cdaf964d0
  Author: Fam Zheng <famz@redhat.com>
  Date:   Fri Apr 21 20:27:02 2017 +0800

    crypto: Make errp the last parameter of functions

    Move opaque to 2nd instead of the 2nd to last, so that compilers help
    check with the conversion.

this puts it back to the 2nd to last position.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
block/crypto.c
crypto/block-luks.c
include/crypto/block.h
tests/test-crypto-block.c