forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mail-filter/imapfilter: fix build with -Werror=strict-prototypes
Closes: https://bugs.gentoo.org/870682 Signed-off-by: Holger Hoffstätte <[email protected]> Closes: gentoo#27304 Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
6d8feea
commit bebe48a
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
Patch from: https://github.com/lefcha/imapfilter/pull/257 | ||
Bug: https://bugs.gentoo.org/870682 | ||
|
||
From 9580bfca0d8a1cf92a79a24b9f1b83fd3b778375 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= <[email protected]> | ||
Date: Sat, 17 Sep 2022 13:42:30 +0200 | ||
Subject: [PATCH] Fix compilation failure with -Werror=strict-prototypes | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
Signed-off-by: Holger Hoffstätte <[email protected]> | ||
--- | ||
src/lua.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/lua.c b/src/lua.c | ||
index 868ddb7..02514bb 100644 | ||
--- a/src/lua.c | ||
+++ b/src/lua.c | ||
@@ -26,7 +26,7 @@ void interactive_mode(void); | ||
* Lua interface functions, load and execute imapfilter's configuration file. | ||
*/ | ||
void | ||
-start_lua() | ||
+start_lua(void) | ||
{ | ||
|
||
lua = luaL_newstate(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters