diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-18 12:22:59 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-18 12:22:59 +0000 |
commit | 2f8eaca53749e2d85f362c87dec608e2427af0d3 (patch) | |
tree | d7fb79bd88b2a0bfec5d8db79632971970a6eea6 /libobjc/memory.c | |
parent | 1513d233fa496c0248268054f54e42f54464161e (diff) | |
download | ppe42-gcc-2f8eaca53749e2d85f362c87dec608e2427af0d3.tar.gz ppe42-gcc-2f8eaca53749e2d85f362c87dec608e2427af0d3.zip |
In libobjc/:
2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* class.c: Tidied up comments and indentation. No code changes.
* error.c: Same.
* exception.c: Same.
* init.c: Same.
* ivars.c: Same.
* memory.c: Same.
* objc-foreach.c: Same.
* objc-sync.c: Same.
* objects.c: Same.
* protocols.c: Same.
* sarray.c: Same.
* thr.c: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168022 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/memory.c')
-rw-r--r-- | libobjc/memory.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/libobjc/memory.c b/libobjc/memory.c index 458d2566fcb..b0519fc87a1 100644 --- a/libobjc/memory.c +++ b/libobjc/memory.c @@ -24,11 +24,9 @@ a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ -/* - This file includes the standard functions for memory allocation and - disposal. Users should use these functions in their ObjC programs - so that they work properly with garbage collectors. -*/ +/* This file includes the standard functions for memory allocation and + disposal. Users should use these functions in their ObjC programs + so that they work properly with garbage collectors. */ /* TODO: Turn these into macros or inline functions. */ @@ -37,8 +35,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* __USE_FIXED_PROTOTYPES__ used to be required to get prototypes for malloc, free, etc. on some platforms. It is unclear if we still - need it, but it can't hurt. -*/ + need it, but it can't hurt. */ #define __USE_FIXED_PROTOTYPES__ #include <stdlib.h> @@ -163,11 +160,8 @@ objc_valloc (size_t size) #endif /* !OBJC_WITH_GC */ -/* - Hook functions for memory allocation and disposal. Deprecated - and currently unused. -*/ - +/* Hook functions for memory allocation and disposal. Deprecated and + currently unused. */ void *(*_objc_malloc) (size_t) = malloc; void *(*_objc_atomic_malloc) (size_t) = malloc; void *(*_objc_valloc) (size_t) = malloc; |