adding GNU dc ("desk calculator")
[unix-history] / gnu / lib / libg++ / libg++ / delete.cc
CommitLineData
15637ed4
RG
1#ifndef NO_LIBGXX_MALLOC
2
3// This may look like C code, but it is really -*- C++ -*-
4
5/*
6Copyright (C) 1989 Free Software Foundation
7 written by Doug Lea (dl@oswego.edu)
8
9This file is part of GNU CC.
10
11GNU CC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY. No author or distributor
13accepts responsibility to anyone for the consequences of using it
14or for whether it serves any particular purpose or works at all,
15unless he says so in writing. Refer to the GNU CC General Public
16License for full details.
17
18Everyone is granted permission to copy, modify and redistribute
19GNU CC, but only under the conditions described in the
20GNU CC General Public License. A copy of this license is
21supposed to have been given to you along with GNU CC so you
22can know your rights and responsibilities. It should be in a
23file named COPYING. Among other things, the copyright notice
24and this notice must be preserved on all copies.
25*/
26
27#ifdef __GNUG__
28#pragma implementation
29#endif
30#include <stddef.h>
31#include <malloc.h>
32
33void operator delete(void* ptr)
34{
35 free (ptr);
36}
37
38#endif