Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat Be consistent with our header.



details:   https://anonhg.NetBSD.org/src/rev/b7817c87445f
branches:  trunk
changeset: 826878:b7817c87445f
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Oct 03 10:28:30 2017 +0000

description:
Be consistent with our header.

diffstat:

 tools/compat/fpurge.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 25e1670b2c3b -r b7817c87445f tools/compat/fpurge.c
--- a/tools/compat/fpurge.c     Tue Oct 03 08:56:52 2017 +0000
+++ b/tools/compat/fpurge.c     Tue Oct 03 10:28:30 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index