1 2/* ------------------------------------------------------------------------- */ 3 4/* 5 * Copyright (c) 1999 6 * GMRS Software GmbH, Innsbrucker Ring 159, 81669 Munich, Germany. 7 * http://www.gmrs.de 8 * All rights reserved. 9 * Author: Arno Unkrig (arno.unkrig@gmrs.de) 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions and the following disclaimer. 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 18 * documentation and/or other materials provided with the distribution. 19 * 3. All advertising materials mentioning features or use of this software 20 * must display the following acknowledgement: 21 * This product includes software developed by GMRS Software GmbH. 22 * 4. The name of GMRS Software GmbH may not be used to endorse or promote 23 * products derived from this software without specific prior written 24 * permission. 25 * 26 * THIS SOFTWARE IS PROVIDED BY GMRS SOFTWARE GMBH ``AS IS'' AND ANY 27 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 29 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GMRS SOFTWARE GMBH BE LIABLE 30 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 36 * THE POSSIBILITY OF SUCH DAMAGE. 37 */ 38 39/* ------------------------------------------------------------------------- */ 40 41#ifndef __new_INCLUDED__ /* { */ 42#define __new_INCLUDED__ 43 44/* ------------------------------------------------------------------------- */ 45 46#ident "$Id: new,v 1.1 1999/10/26 10:57:36 arno Exp $" 47 48#include <sys/types.h> 49 50/* ------------------------------------------------------------------------- */ 51 52inline void * 53operator new(size_t, void *p) { return p; } 54 55/* ------------------------------------------------------------------------- */ 56 57#endif /* } */ 58 59/* ------------------------------------------------------------------------- */ 60 61