瀏覽代碼

Merge pull request #481 from RektInator/develop

fixed compile issue on msvc++
Steffen Jaeckel 6 年之前
父節點
當前提交
c28a8495d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/headers/tomcrypt_argchk.h

+ 1 - 1
src/headers/tomcrypt_argchk.h

@@ -15,7 +15,7 @@
 
 #include <signal.h>
 
-void crypt_argchk(const char *v, const char *s, int d) LTC_NORETURN;
+LTC_NORETURN void crypt_argchk(const char *v, const char *s, int d);
 #define LTC_ARGCHK(x) do { if (!(x)) { crypt_argchk(#x, __FILE__, __LINE__); } }while(0)
 #define LTC_ARGCHKVD(x) do { if (!(x)) { crypt_argchk(#x, __FILE__, __LINE__); } }while(0)