From 9028c687fb2b36b7e8546eefaba2243f6c201f3c Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Wed, 8 Dec 2010 00:49:22 +0000 Subject: [PATCH] That one slipped by in the last commit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39764 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../drivers/ports/usb_serial/kernel_cpp.h | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/add-ons/kernel/drivers/ports/usb_serial/kernel_cpp.h diff --git a/src/add-ons/kernel/drivers/ports/usb_serial/kernel_cpp.h b/src/add-ons/kernel/drivers/ports/usb_serial/kernel_cpp.h deleted file mode 100644 index 7d7b025872..0000000000 --- a/src/add-ons/kernel/drivers/ports/usb_serial/kernel_cpp.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef _KERNEL_CPP_H_ -#define _KERNEL_CPP_H_ - -#include - -inline void * -operator new(size_t size) -{ - return malloc(size); -} - - -inline void * -operator new[](size_t size) -{ - return malloc(size); -} - - -inline void -operator delete(void *pointer) -{ - free(pointer); -} - - -inline void -operator delete[](void *pointer) -{ - free(pointer); -} - - -inline void -terminate(void) -{ -} - - -static inline void -__throw() -{ -} - -#endif // _KERNEL_CPP_H_