Module Name:    src
Committed By:   kamil
Date:           Sat Jun 18 14:39:15 UTC 2016

Modified Files:
        src/include: unistd.h
        src/lib/libc/sys: profil.2

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


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/include/unistd.h
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/sys/profil.2

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

Modified files:

Index: src/include/unistd.h
diff -u src/include/unistd.h:1.145 src/include/unistd.h:1.146
--- src/include/unistd.h:1.145	Tue Mar 24 07:44:52 2015
+++ src/include/unistd.h	Sat Jun 18 14:39:15 2016
@@ -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      issetugid(void);
 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 */

Index: src/lib/libc/sys/profil.2
diff -u src/lib/libc/sys/profil.2:1.13 src/lib/libc/sys/profil.2:1.14
--- src/lib/libc/sys/profil.2:1.13	Thu Aug  7 16:44:04 2003
+++ src/lib/libc/sys/profil.2	Sat Jun 18 14:39:15 2016
@@ -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

Reply via email to