diff options
author | Guillem Jover <guillem@debian.org> | 2018-03-24 19:37:51 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2018-03-25 05:45:47 +0200 |
commit | 0d9c18d163ca37ef4c0c2127f8ec901f721d1473 (patch) | |
tree | cd970cabed5a78c7dc258c441d2d8d1daad30577 /m4 | |
parent | 1e892d4e03cc396bd84e7f478d9cba77bfa40c70 (diff) | |
download | dpkg-0d9c18d163ca37ef4c0c2127f8ec901f721d1473.tar.gz |
libcompat: Convert md5 module to use C99 int types
In commit 1f4d0354fc4a8c80c6463b9aaebd93822247341b we opted to map the
BSD int types to the C99 to avoid modifying the imported code. But we
had to modify it anyway, those types are legacy and we require the C99
ones for the rest of the codebase. So let's just switch to them, and
get rid of the type compatibility mapping.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/dpkg-types.m4 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/m4/dpkg-types.m4 b/m4/dpkg-types.m4 index 7fbbd2a0a..5355f5a93 100644 --- a/m4/dpkg-types.m4 +++ b/m4/dpkg-types.m4 @@ -11,26 +11,6 @@ AC_DEFUN([DPKG_TYPE_PTRDIFF_T], [ ]) ])# DPKG_TYPE_PTRDIFF_T -# DPKG_TYPE_U_INT_T(N) -# -------------------- -# Check for u_intN_t BSD type, defining to C99 type if not. -AC_DEFUN([DPKG_TYPE_U_INT_T], [ - AC_CHECK_TYPE([u_int$1_t], [], [ - AC_DEFINE_UNQUOTED([u_int$1_t], [uint$1_t], - [Define to 'uint$1_t' if not defined.]) - ]) -]) - -# DPKG_TYPES_U_INT_T -# ------------------ -# Check for u_int(8|16|32|64)_t BSD types, defining to C99 types if not. -AC_DEFUN([DPKG_TYPES_U_INT_T], [ - DPKG_TYPE_U_INT_T([8]) - DPKG_TYPE_U_INT_T([16]) - DPKG_TYPE_U_INT_T([32]) - DPKG_TYPE_U_INT_T([64]) -]) - # DPKG_DECL_SYS_SIGLIST # --------------------- # Check for the sys_siglist variable in either signal.h or unistd.h |