1
0
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:
Jelmer Vernooij 2009-02-09 17:48:30 +01:00
parent 9b366d7032
commit 0afa0ab442
2 changed files with 2 additions and 2 deletions

View File

@ -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_ */

View File

@ -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_;