diff options
author | Bruno Haible <bruno@clisp.org> | 2020-02-23 13:25:28 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-02-23 13:25:28 +0100 |
commit | fd783467d341d2916ef5a798748c2bab20e6ec2a (patch) | |
tree | 60706894bf468b889aaaaafaff6c1211cbc8ecc0 /m4 | |
parent | 7d4a2b0c17628cc4e5fc159b26498564706ee1be (diff) | |
download | gnulib-fd783467d341d2916ef5a798748c2bab20e6ec2a.tar.gz |
crypto/sm3: Use 'restrict'.
* lib/sm3.h (sm3_finish_ctx, sm3_read_ctx, sm3_buffer): Use 'restrict'.
* m4/sm3.m4 (gl_SM3): Require AC_C_RESTRICT.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/sm3.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# sm3.m4 serial 1 +# sm3.m4 serial 2 dnl Copyright (C) 2017-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,9 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SM3], [ + dnl Prerequisites of lib/sm3.h. + AC_REQUIRE([AC_C_RESTRICT]) + dnl Prerequisites of lib/sm3.c. AC_REQUIRE([gl_BIGENDIAN]) |