瀏覽代碼

use malloc attribute

tags/v0.9.3
Holger Lubitz 17 年之前
父節點
當前提交
dea89e8d62
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/crypto/axtls/bigint.c

+ 1
- 1
src/crypto/axtls/bigint.c 查看文件

@@ -58,7 +58,7 @@
58 58
 
59 59
 static bigint *bi_int_multiply(BI_CTX *ctx, bigint *bi, comp i);
60 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 62
 static bigint *trim(bigint *bi);
63 63
 static void more_comps(bigint *bi, int n);
64 64
 #if defined(CONFIG_BIGINT_KARATSUBA) || defined(CONFIG_BIGINT_BARRETT) || \

Loading…
取消
儲存