bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] crypto/af_alg: port to strict C compilers


From: Paul Eggert
Subject: [PATCH 1/2] crypto/af_alg: port to strict C compilers
Date: Sat, 11 May 2019 08:32:30 -0700

* lib/af_alg.c: Include af_alg.h regardless, so that the
compilation unit is nonempty.
---
 ChangeLog    | 6 ++++++
 lib/af_alg.c | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c9cb89306..fa615c1f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-05-11  Paul Eggert  <address@hidden>
+
+       crypto/af_alg: port to strict C compilers
+       * lib/af_alg.c: Include af_alg.h regardless, so that the
+       compilation unit is nonempty.
+
 2019-05-10  Bruno Haible  <address@hidden>
 
        base64: Avoid false positive warning from Coverity.
diff --git a/lib/af_alg.c b/lib/af_alg.c
index 914ef5709..8fa131624 100644
--- a/lib/af_alg.c
+++ b/lib/af_alg.c
@@ -18,10 +18,10 @@
 
 #include <config.h>
 
-#if USE_LINUX_CRYPTO_API
-
 #include "af_alg.h"
 
+#if USE_LINUX_CRYPTO_API
+
 #include <unistd.h>
 #include <string.h>
 #include <stdio.h>
-- 
2.21.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]