bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* [PATCH 1/2] crypto/af_alg: port to strict C compilers
@ 2019-05-11 15:32 Paul Eggert
  2019-05-11 15:32 ` [PATCH 2/2] fpucw: port to gcc -pedantic Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggert @ 2019-05-11 15:32 UTC (permalink / raw)
  To: bug-gnulib; +Cc: Paul Eggert

* 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  <eggert@cs.ucla.edu>
+
+	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  <bruno@clisp.org>
 
 	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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-11 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-11 15:32 [PATCH 1/2] crypto/af_alg: port to strict C compilers Paul Eggert
2019-05-11 15:32 ` [PATCH 2/2] fpucw: port to gcc -pedantic Paul Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).