PERFORCE change 122663 for review

Peter Wemm peter at FreeBSD.org
Sun Jul 1 19:50:30 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=122663

Change 122663 by peter at peter_overcee on 2007/07/01 19:49:35

	Correct comment.  Update new functions from 1970's to 1980's.

Affected files ...

.. //depot/projects/hammer/sys/kern/vfs_syscalls.c#71 edit

Differences ...

==== //depot/projects/hammer/sys/kern/vfs_syscalls.c#71 (text+ko) ====

@@ -3240,11 +3240,9 @@
 #endif /* COMPAT_43 */
 
 #if defined(COMPAT_FREEBSD6)
-/* Versions without the pad argument */
+/* Versions with the pad argument */
 int
-freebsd6_truncate(td, uap)
-	struct thread *td;
-	register struct freebsd6_truncate_args *uap;
+freebsd6_truncate(struct thread *td, struct freebsd6_truncate_args *uap)
 {
 	struct truncate_args ouap;
 
@@ -3254,9 +3252,7 @@
 }
 
 int
-freebsd6_ftruncate(td, uap)
-	struct thread *td;
-	register struct freebsd6_ftruncate_args *uap;
+freebsd6_ftruncate(struct thread *td, struct freebsd6_ftruncate_args *uap)
 {
 	struct ftruncate_args ouap;
 


More information about the p4-projects mailing list