Просмотр исходного кода

use malloc attribute

tags/v0.9.3
Holger Lubitz 19 лет назад
Родитель
Сommit
dea89e8d62
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/crypto/axtls/bigint.c

+ 1
- 1
src/crypto/axtls/bigint.c Просмотреть файл

58
 
58
 
59
 static bigint *bi_int_multiply(BI_CTX *ctx, bigint *bi, comp i);
59
 static bigint *bi_int_multiply(BI_CTX *ctx, bigint *bi, comp i);
60
 static bigint *bi_int_divide(BI_CTX *ctx, bigint *biR, comp denom);
60
 static bigint *bi_int_divide(BI_CTX *ctx, bigint *biR, comp denom);
61
-static bigint *alloc(BI_CTX *ctx, int size);
61
+static bigint __malloc *alloc(BI_CTX *ctx, int size);
62
 static bigint *trim(bigint *bi);
62
 static bigint *trim(bigint *bi);
63
 static void more_comps(bigint *bi, int n);
63
 static void more_comps(bigint *bi, int n);
64
 #if defined(CONFIG_BIGINT_KARATSUBA) || defined(CONFIG_BIGINT_BARRETT) || \
64
 #if defined(CONFIG_BIGINT_KARATSUBA) || defined(CONFIG_BIGINT_BARRETT) || \

Загрузка…
Отмена
Сохранить