/usr/include/OpenSP/xnew.h is in libosp-dev 1.5.2-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #ifndef xnew_INCLUDED
#define xnew_INCLUDED 1
#ifdef SP_NEW_H_MISSING
typedef void (*VFP)();
#ifdef SP_SET_NEW_HANDLER_EXTERN_C
extern "C"
#endif
void set_new_handler(VFP);
#ifndef SP_DECLARE_PLACEMENT_OPERATOR_NEW
#define SP_DECLARE_PLACEMENT_OPERATOR_NEW
#endif
#else /* not SP_NEW_H_MISSING */
#ifdef SP_ANSI_LIB
#include <new>
#else
#include <new.h>
#endif
#endif /* not SP_NEW_H_MISSING */
#ifdef SP_DECLARE_PLACEMENT_OPERATOR_NEW
inline
void *operator new(size_t, void *p)
{
return p;
}
#endif /* SP_DECLARE_PLACEMENT_OPERATOR_NEW */
#endif /* not xnew_INCLUDED */
|