Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen don't lie about function signatures.



details:   https://anonhg.NetBSD.org/src/rev/0febe2806e44
branches:  trunk
changeset: 326622:0febe2806e44
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 07 20:20:56 2014 +0000

description:
don't lie about function signatures.

diffstat:

 lib/libc/gen/getttyent.3 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 47a6635c318a -r 0febe2806e44 lib/libc/gen/getttyent.3
--- a/lib/libc/gen/getttyent.3  Fri Feb 07 19:36:15 2014 +0000
+++ b/lib/libc/gen/getttyent.3  Fri Feb 07 20:20:56 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getttyent.3,v 1.20 2012/04/22 10:14:18 wiz Exp $
+.\"    $NetBSD: getttyent.3,v 1.21 2014/02/07 20:20:56 christos Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)getttyent.3        8.1 (Berkeley) 6/4/93
 .\"
-.Dd April 5, 2012
+.Dd February 7, 2014
 .Dt GETTTYENT 3
 .Os
 .Sh NAME
@@ -44,9 +44,9 @@
 .Sh SYNOPSIS
 .In ttyent.h
 .Ft struct ttyent *
-.Fn getttyent
+.Fn getttyent void
 .Ft struct ttyent *
-.Fn getttynam "char *name"
+.Fn getttynam "const char *name"
 .Ft int
 .Fn setttyent void
 .Ft int



Home | Main Index | Thread Index | Old Index