[PATCH xts] xts5: Fix clang warning - non-void function 'outfile' should return a value

Rhys Kidd rhyskidd at gmail.com
Sun Nov 13 18:50:49 UTC 2016


files.c:267:3: error: non-void function 'outfile' should return a value
      [-Wreturn-type]
                return;
                ^

Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---
 xts5/src/bin/mc/files.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xts5/src/bin/mc/files.c b/xts5/src/bin/mc/files.c
index ee88a40..a9198e1 100644
--- a/xts5/src/bin/mc/files.c
+++ b/xts5/src/bin/mc/files.c
@@ -236,7 +236,7 @@ char *tmpfile;
  * Combine all the files in the right order onto
  * stdout.
  */
-outfile(fp)
+void outfile(fp)
 FILE	*fp;
 {
 static FILE	*fout;
-- 
2.9.3



More information about the xorg-devel mailing list