Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2019 17:11:52 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354711 - in head/sys: compat/freebsd32 i386/linux kern
Message-ID:  <201911141711.xAEHBqet077595@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Thu Nov 14 17:11:52 2019
New Revision: 354711
URL: https://svnweb.freebsd.org/changeset/base/354711

Log:
  Tidy syscall declerations.
  
  Pointer arguments should be of the form "<type> *..." and not "<type>* ...".
  
  No functional change.
  
  Reviewed by:	kevans
  Sponsored by:	DARPA, AFRL
  Differential Revision:	https://reviews.freebsd.org/D22373

Modified:
  head/sys/compat/freebsd32/syscalls.master
  head/sys/i386/linux/syscalls.master
  head/sys/kern/syscalls.master

Modified: head/sys/compat/freebsd32/syscalls.master
==============================================================================
--- head/sys/compat/freebsd32/syscalls.master	Thu Nov 14 17:04:19 2019	(r354710)
+++ head/sys/compat/freebsd32/syscalls.master	Thu Nov 14 17:11:52 2019	(r354711)
@@ -552,7 +552,7 @@
 ; syscall numbers for FreeBSD
 300	AUE_NULL	NOPROTO	{ int modnext(int modid); }
 301	AUE_NULL	STD	{ int freebsd32_modstat(int modid, \
-				    struct module_stat32* stat); }
+				    struct module_stat32 *stat); }
 302	AUE_NULL	NOPROTO	{ int modfnext(int modid); }
 303	AUE_NULL	NOPROTO	{ int modfind(const char *name); }
 304	AUE_MODLOAD	NOPROTO	{ int kldload(const char *file); }
@@ -560,7 +560,7 @@
 306	AUE_NULL	NOPROTO	{ int kldfind(const char *file); }
 307	AUE_NULL	NOPROTO	{ int kldnext(int fileid); }
 308	AUE_NULL	STD	{ int freebsd32_kldstat(int fileid, \
-				    struct kld32_file_stat* stat); }
+				    struct kld32_file_stat *stat); }
 309	AUE_NULL	NOPROTO	{ int kldfirstmod(int fileid); }
 310	AUE_GETSID	NOPROTO	{ int getsid(pid_t pid); }
 311	AUE_SETRESUID	NOPROTO	{ int setresuid(uid_t ruid, uid_t euid, \

Modified: head/sys/i386/linux/syscalls.master
==============================================================================
--- head/sys/i386/linux/syscalls.master	Thu Nov 14 17:04:19 2019	(r354710)
+++ head/sys/i386/linux/syscalls.master	Thu Nov 14 17:11:52 2019	(r354711)
@@ -299,7 +299,7 @@
 				    l_uid16_t *euid, l_uid16_t *suid); }
 166	AUE_NULL	STD	{ int linux_vm86(void); }
 167	AUE_NULL	UNIMPL	query_module
-168	AUE_POLL	NOPROTO	{ int poll(struct pollfd* fds, \
+168	AUE_POLL	NOPROTO	{ int poll(struct pollfd *fds, \
 				    unsigned int nfds, long timeout); }
 169	AUE_NULL	UNIMPL	nfsservctl
 170	AUE_SETRESGID	STD	{ int linux_setresgid16(l_gid16_t rgid, \

Modified: head/sys/kern/syscalls.master
==============================================================================
--- head/sys/kern/syscalls.master	Thu Nov 14 17:04:19 2019	(r354710)
+++ head/sys/kern/syscalls.master	Thu Nov 14 17:11:52 2019	(r354711)
@@ -1472,7 +1472,7 @@
 257	AUE_LIO_LISTIO	STD {
 		int lio_listio(
 		    int mode,
-		    _Inout_updates_(nent) struct aiocb* const *acb_list,
+		    _Inout_updates_(nent) struct aiocb * const *acb_list,
 		    int nent,
 		    _In_opt_ struct sigevent *sig
 		);
@@ -1562,7 +1562,7 @@
 301	AUE_NULL	STD {
 		int modstat(
 		    int modid,
-		    _Out_ struct module_stat* stat
+		    _Out_ struct module_stat *stat
 		);
 	}
 302	AUE_NULL	STD {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911141711.xAEHBqet077595>