~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to win32/alloca.c

  • Committer: Monty Taylor
  • Date: 2010-09-28 07:45:44 UTC
  • mto: (1799.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1800.
  • Revision ID: mordred@inaugust.com-20100928074544-s3ujnv6s8wro74l2
Added BSD copying file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* alloca.c -- allocate automatically reclaimed memory
2
2
   (Mostly) portable public-domain implementation -- D A Gwyn
3
3
 
4
 
   Copyright (C) 1995, 1999, 2001-2004, 2006-2008 Free Software
5
 
   Foundation, Inc.
6
 
 
7
 
   This program is free software; you can redistribute it and/or modify it
8
 
   under the terms of the GNU Lesser General Public License as published
9
 
   by the Free Software Foundation; either version 2, or (at your option)
10
 
   any later version.
11
 
 
12
 
   This program is distributed in the hope that it will be useful,
13
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
 
   General Public License for more details.
16
 
 
17
 
   You should have received a copy of the GNU Lesser General Public
18
 
   License along with this program; if not, write to the Free Software
19
 
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
20
 
   USA.
21
 
 
22
4
   This implementation of the PWB library alloca function,
23
5
   which is used to allocate space off the run-time stack so
24
6
   that it is automatically reclaimed upon procedure exit,
39
21
   allocating any.  It is a good idea to use alloca(0) in
40
22
   your main control loop, etc. to force garbage collection.  */
41
23
 
42
 
#include "config.h"
 
24
#include <config.h>
43
25
 
44
26
#include <alloca.h>
45
27