mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4"
lib/util already has discard_const_p.
This reverts commit 0cb430c22e
.
This commit is contained in:
parent
9b366d7032
commit
0afa0ab442
@ -750,6 +750,4 @@ bool unmap_file(void *start, size_t size);
|
||||
|
||||
void print_asc(int level, const uint8_t *buf,int len);
|
||||
|
||||
#define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr)))
|
||||
|
||||
#endif /* _SAMBA_UTIL_H_ */
|
||||
|
@ -1050,6 +1050,8 @@ ssize_t readahead(int fd, off64_t offset, size_t count);
|
||||
#undef HAVE_MMAP
|
||||
#endif
|
||||
|
||||
#define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr)))
|
||||
|
||||
void smb_panic( const char *why ) _NORETURN_;
|
||||
void dump_core(void) _NORETURN_;
|
||||
void exit_server(const char *const reason) _NORETURN_;
|
||||
|
Loading…
Reference in New Issue
Block a user