diff options
author | Volker Lendecke <vl@samba.org> | 2020-02-21 22:13:49 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2020-05-25 08:13:27 +0000 |
commit | 20b99b03a0795b920ac2be9d7e51bc6819f3d24f (patch) | |
tree | 4ebb2c39a2ff1bd0a39e777cb43709666961eb1a /source3/include | |
parent | 66caa6b24d69694ff030474b92b5c01687ab0a69 (diff) | |
download | samba-20b99b03a0795b920ac2be9d7e51bc6819f3d24f.tar.gz |
libsmb: Make SMBC_dlist_contains return bool
It returned True/False, and is used as boolean only. Modernize
formatting a bit.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/libsmb_internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/libsmb_internal.h b/source3/include/libsmb_internal.h index be88e8e300d..13fd46977a0 100644 --- a/source3/include/libsmb_internal.h +++ b/source3/include/libsmb_internal.h @@ -430,8 +430,7 @@ SMBC_ftruncate_ctx(SMBCCTX *context, /* Functions in libsmb_misc.c */ -int -SMBC_dlist_contains(SMBCFILE * list, SMBCFILE *p); +bool SMBC_dlist_contains(SMBCFILE * list, SMBCFILE *p); int SMBC_errno(SMBCCTX *context, |