From: Paul Eggert <eggert@cs.ucla.edu>
To: bug-gnulib@gnu.org
Cc: Paul Eggert <eggert@cs.ucla.edu>
Subject: [PATCH 1/2] crypto/af_alg: port to strict C compilers
Date: Sat, 11 May 2019 08:32:30 -0700 [thread overview]
Message-ID: <20190511153231.27326-1-eggert@cs.ucla.edu> (raw)
* 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
next reply other threads:[~2019-05-11 15:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-11 15:32 Paul Eggert [this message]
2019-05-11 15:32 ` [PATCH 2/2] fpucw: port to gcc -pedantic Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190511153231.27326-1-eggert@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=bug-gnulib@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).