diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-21 15:11:16 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-21 15:11:16 +0100 |
commit | ab31e3bb217089e0cc28ca57bb5c4e46c06789dd (patch) | |
tree | b398183e8f5a7ecf5593c6bb0a2a73cf3f2f1073 /indra/llcommon/llmemory.cpp | |
parent | cd13bc0e044d5014a0d7e131ae9d47924e376997 (diff) |
Fix up the SSE stuff so it compiles on Linux. Though I don't think it actually works properly.
Diffstat (limited to 'indra/llcommon/llmemory.cpp')
-rw-r--r-- | indra/llcommon/llmemory.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp index 2a8015e26d..5c6ca30cdd 100644 --- a/indra/llcommon/llmemory.cpp +++ b/indra/llcommon/llmemory.cpp @@ -73,25 +73,6 @@ void LLMemory::freeReserve() reserveMem = NULL; } -void* ll_allocate (size_t size) -{ - if (size == 0) - { - llwarns << "Null allocation" << llendl; - } - void *p = malloc(size); - if (p == NULL) - { - LLMemory::freeReserve(); - llerrs << "Out of memory Error" << llendl; - } - return p; -} - -void ll_release (void *p) -{ - free(p); -} //---------------------------------------------------------------------------- |