#ifndef _DEQUAL_H_994ae2f3_ #define _DEQUAL_H_994ae2f3_ /* This file is in the public domain. */ /* * Utility routine to remove qualifiers from a pointer. * * This would never be needed if the system interfaces were properly * const-poisoned. But they're not. Most notably, writev() uses a * struct iov, which has a non-const iov_base pointer-to type - even * though iov_base for writev() ought to be const. While it's true * this is a historical accident (writev's interface is older than * const), it still needs dealing with. */ extern void *dequal(const volatile void *); #endif