Source-Changes-HG archive

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

[src/trunk]: src Use generic types in the profil(2) function prototype (<unis...



details:   https://anonhg.NetBSD.org/src/rev/a9961e2a821f
branches:  trunk
changeset: 345974:a9961e2a821f
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Jun 18 14:39:15 2016 +0000

description:
Use generic types in the profil(2) function prototype (<unistd.h>)

diffstat:

 include/unistd.h      |  4 ++--
 lib/libc/sys/profil.2 |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5217f414dd09 -r a9961e2a821f include/unistd.h
--- a/include/unistd.h  Sat Jun 18 13:09:20 2016 +0000
+++ b/include/unistd.h  Sat Jun 18 14:39:15 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unistd.h,v 1.145 2015/03/24 07:44:52 wiz Exp $ */
+/*     $NetBSD: unistd.h,v 1.146 2016/06/18 14:39:15 kamil Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -361,7 +361,7 @@
 int     mkstemps(char *, int);
 int     nfssvc(int, void *);
 int     pipe2(int *, int);
-int     profil(char *, size_t, u_long, u_int);
+int     profil(char *, size_t, unsigned long, unsigned int);
 #ifndef __PSIGNAL_DECLARED
 #define __PSIGNAL_DECLARED
 /* also in signal.h */
diff -r 5217f414dd09 -r a9961e2a821f lib/libc/sys/profil.2
--- a/lib/libc/sys/profil.2     Sat Jun 18 13:09:20 2016 +0000
+++ b/lib/libc/sys/profil.2     Sat Jun 18 14:39:15 2016 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: profil.2,v 1.13 2003/08/07 16:44:04 agc Exp $
+.\"    $NetBSD: profil.2,v 1.14 2016/06/18 14:39:15 kamil Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -43,7 +43,7 @@
 .Sh SYNOPSIS
 .In unistd.h
 .Ft int
-.Fn profil "char *samples" "size_t size" "u_long offset" "u_int scale"
+.Fn profil "char *samples" "size_t size" "unsigned long offset" "unsigned int scale"
 .Sh DESCRIPTION
 The
 .Fn profil



Home | Main Index | Thread Index | Old Index