diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-28 22:33:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:06 -0500 |
commit | cc1457beb00faa6869e2472e305b4e97c0995ea3 (patch) | |
tree | bd777cfc16803f0dbd024b878db2c320cab013c0 /source3/include | |
parent | c7d2deb151b22f1b84213470a53ab43c42e6646a (diff) | |
download | samba-cc1457beb00faa6869e2472e305b4e97c0995ea3.tar.gz samba-cc1457beb00faa6869e2472e305b4e97c0995ea3.tar.bz2 samba-cc1457beb00faa6869e2472e305b4e97c0995ea3.zip |
r16661: Fix from jason@ncac.gwu.edu for bug #3875,
bad cast warning.
Jeremy.
(This used to be commit d60e6e0abc17361fe180d6723b970552dc377741)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 5aa06347f8..e0f2e8483c 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -869,6 +869,12 @@ struct byte_range_lock { enum brl_flavour lock_flav, \ br_off start, br_off size) +#define LOCKING_FN_CAST() \ + void (*)(struct share_mode_entry *, const char *, const char *) + +#define LOCKING_FN(fn) \ + void (*fn)(struct share_mode_entry *, const char *, const char *) + struct bitmap { uint32 *b; unsigned int n; |