Selaa lähdekoodia

use malloc attribute

tags/v0.9.3
Holger Lubitz 18 vuotta sitten
vanhempi
commit
68455adf37
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/crypto/cryptoLayer.h

+ 1
- 1
src/crypto/cryptoLayer.h Näytä tiedosto

31
 
31
 
32
 #define sslAssert( ... ) assert ( __VA_ARGS__ )
32
 #define sslAssert( ... ) assert ( __VA_ARGS__ )
33
 
33
 
34
-static inline __attribute__ (( always_inline )) void *
34
+static inline __attribute__ (( always_inline )) void * __malloc
35
 psMalloc ( psPool_t *pool __unused, size_t len ) {
35
 psMalloc ( psPool_t *pool __unused, size_t len ) {
36
 	return malloc ( len );
36
 	return malloc ( len );
37
 }
37
 }

Loading…
Peruuta
Tallenna