Module Name: src
Committed By: christos
Date: Sat Apr 17 17:51:47 UTC 2010
Modified Files:
src/include: unistd.h
Log Message:
change size_t to ssize_t for POSIX compliance.
To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/include/unistd.h
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.122 src/include/unistd.h:1.123
--- src/include/unistd.h:1.122 Sat Apr 17 13:48:34 2010
+++ src/include/unistd.h Sat Apr 17 13:51:47 2010
@@ -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);