diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-02-09 17:48:30 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-02-09 17:48:30 +0100 |
commit | 0afa0ab442c4198dab76373d228f7123fd54eaec (patch) | |
tree | c6de7da3d0ee42e185cb32ddb1fe0e39123962ce /source3/include | |
parent | 9b366d703210b493aa1389bbdd288a2b00958766 (diff) | |
download | samba-0afa0ab442c4198dab76373d228f7123fd54eaec.tar.gz samba-0afa0ab442c4198dab76373d228f7123fd54eaec.tar.bz2 samba-0afa0ab442c4198dab76373d228f7123fd54eaec.zip |
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 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 4aa3c07343..930df6e36c 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.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_; |