haiku/headers/posix/alloca.h
Scott McCreary 0fae873352 Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines.
Cleaned up some header style violations, making sure there are two blank lines after the header guards.
This fixes the posix header part of #2191.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 21:46:47 +00:00

30 lines
463 B
C

/*
* Copyright 2003-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _ALLOCA_H
#define _ALLOCA_H
#include <sys/types.h>
#undef __alloca
#undef alloca
#ifdef __cplusplus
extern "C" {
#endif
extern void * __alloca (size_t __size);
extern void * alloca (size_t __size);
#ifdef __cplusplus
}
#endif
#define __alloca(size) __builtin_alloca (size)
#define alloca(size) __alloca (size)
#endif /* _ALLOCA_H */