/[packages]/cauldron/seamonkey/current/SOURCES/mozilla-jemalloc.patch
ViewVC logotype

Contents of /cauldron/seamonkey/current/SOURCES/mozilla-jemalloc.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82798 - (show annotations) (download)
Sun Apr 10 16:39:19 2011 UTC (13 years ago) by ennael
File size: 1076 byte(s)
imported package seamonkey
1 diff -r f1af606531f5 memory/jemalloc/jemalloc.h
2 --- mozilla/memory/jemalloc/jemalloc.h Sat Nov 22 20:22:22 2008 +0100
3 +++ mozilla/memory/jemalloc/jemalloc.h Mon Dec 01 16:53:06 2008 -0500
4 @@ -45,14 +45,14 @@
5 } jemalloc_stats_t;
6
7 #ifndef MOZ_MEMORY_DARWIN
8 -void *malloc(size_t size);
9 -void *valloc(size_t size);
10 -void *calloc(size_t num, size_t size);
11 -void *realloc(void *ptr, size_t size);
12 -void free(void *ptr);
13 +void *malloc(size_t size) __THROW __attribute_malloc__ __wur;
14 +void *valloc(size_t size) __THROW __attribute_malloc__ __wur;
15 +void *calloc(size_t num, size_t size) __THROW __attribute_malloc__ __wur;
16 +void *realloc(void *ptr, size_t size) __THROW __attribute_malloc__ __wur;
17 +void free(void *ptr) __THROW __attribute_malloc__ __wur;
18 #endif
19
20 -int posix_memalign(void **memptr, size_t alignment, size_t size);
21 +int posix_memalign(void **memptr, size_t alignment, size_t size) __THROW __attribute_malloc__ __wur;
22 void *memalign(size_t alignment, size_t size);
23 size_t malloc_usable_size(const void *ptr);
24 void jemalloc_stats(jemalloc_stats_t *stats);

  ViewVC Help
Powered by ViewVC 1.1.30