Module Name:    src
Committed By:   joerg
Date:           Tue Oct  3 10:28:30 UTC 2017

Modified Files:
        src/tools/compat: fpurge.c

Log Message:
Be consistent with our header.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tools/compat/fpurge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/compat/fpurge.c
diff -u src/tools/compat/fpurge.c:1.2 src/tools/compat/fpurge.c:1.3
--- src/tools/compat/fpurge.c:1.2	Mon Oct  2 22:19:45 2017
+++ src/tools/compat/fpurge.c	Tue Oct  3 10:28:30 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: fpurge.c,v 1.2 2017/10/02 22:19:45 christos Exp $	*/
+/*	$NetBSD: fpurge.c,v 1.3 2017/10/03 10:28:30 joerg Exp $	*/
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -42,11 +42,12 @@
 #include <stdio.h>
 #include <fcntl.h>
 
-void
+int
 fpurge(FILE *fp)
 {
 #if HAVE___FPURGE
 	__fpurge(fp);
 #endif
+	return 0;
 }
 #endif

Reply via email to