]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: kill compiling warning 10622/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 9 Aug 2016 08:34:21 +0000 (16:34 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 9 Aug 2016 08:34:21 +0000 (16:34 +0800)
commit954a999e22e66b086b4d5a69bd2a9a5a5c3c6b69
tree3cc026400f2f148579ce53d0c89b150f5bdae504
parentaa5ef1dc1ad2c1b73c596de1a35b2314c901334a
libcephfs: kill compiling warning

As below:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1499:20: warning: ‘struct flock’ declared inside parameter list [enabled by default]
     Fh *fh, struct flock *fl, uint64_t owner);
                    ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1499:20: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1501:20: warning: ‘struct flock’ declared inside parameter list [enabled by default]
     Fh *fh, struct flock *fl, uint64_t owner, int sleep);

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/include/cephfs/libcephfs.h