]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: libsmb: Change generate_inode()/setup_stat() to modern coding standards.
authorJeremy Allison <jra@samba.org>
Fri, 18 Oct 2019 16:24:38 +0000 (09:24 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jan 2020 08:30:23 +0000 (08:30 +0000)
commit06b0e8d3ae18ca64ee390ad638d77502a4efe8fa
tree3ead933917a9a7171b0749e10162ab52cc786ded
parentb5e8ba021bfeb98275d2d739cf9cbb4893d81997
s3: libsmb: Change generate_inode()/setup_stat() to modern coding standards.

Change setup_stat() to be void. It doesn't return anything. Export
so it can be used by upcoming smbc_readdirplus2() call.

Remove unused SMBCCTX *context parameters.
Remove unused talloc_stackframe().

Signed-off-by: Puran Chand <pchand@vmware.com>
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit d44a84295b46cc6c540a9730a615a59c1f22a277)
source3/include/libsmb_internal.h
source3/libsmb/libsmb_stat.c