Source-Changes-HG archive

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

[src/trunk]: src/include change size_t to ssize_t for POSIX compliance.



details:   https://anonhg.NetBSD.org/src/rev/06f3e57205b8
branches:  trunk
changeset: 754043:06f3e57205b8
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 17 17:51:47 2010 +0000

description:
change size_t to ssize_t for POSIX compliance.

diffstat:

 include/unistd.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 281810dd1fcf -r 06f3e57205b8 include/unistd.h
--- a/include/unistd.h  Sat Apr 17 17:50:13 2010 +0000
+++ b/include/unistd.h  Sat Apr 17 17:51:47 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unistd.h,v 1.122 2010/04/17 17:48:34 christos Exp $    */
+/*     $NetBSD: unistd.h,v 1.123 2010/04/17 17:51:47 christos Exp $    */
 
 /*-
  * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -259,7 +259,7 @@
 int     setpgrp(pid_t, pid_t);                 /* obsoleted by setpgid() */
 int     setregid(gid_t, gid_t);
 int     setreuid(uid_t, uid_t);
-void    swab(const void * __restrict, void * __restrict, size_t);
+void    swab(const void * __restrict, void * __restrict, ssize_t);
 int     symlink(const char *, const char *);
 void    sync(void);
 useconds_t ualarm(useconds_t, useconds_t);



Home | Main Index | Thread Index | Old Index