Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: fix swapctl(2) prototype in unistd.h
To:
Bryan Steele <brynet@openbsd.org>, tech@openbsd.org
Date:
Sun, 5 Oct 2025 22:52:29 +0200

Download raw body.

Thread
On Sun, Oct 05, 2025 at 04:17:16PM -0400, Bryan Steele wrote:
> This removes the variable names from the swapctl(2) prototype,
> fixes git build of the asm6809[0] assembler.
> 
> ok?

ok tb after release.

> 
> -Bryan.
> 
> [0] https://www.6809.org.uk/asm6809/
> 
> Index: unistd.h
> ===================================================================
> RCS file: /cvs/src/include/unistd.h,v
> diff -u -p -u -r1.111 unistd.h
> --- include/unistd.h	2 Aug 2024 22:14:54 -0000	1.111
> +++ include/unistd.h	5 Oct 2025 20:10:55 -0000
> @@ -530,7 +530,7 @@ int	 setpgrp(pid_t _pid, pid_t _pgrp);	/
>  int	 setthrname(pid_t, const char *);
>  void	 setusershell(void);
>  int	 strtofflags(char **, u_int32_t *, u_int32_t *);
> -int	 swapctl(int cmd, const void *arg, int misc);
> +int	 swapctl(int, const void *, int);
>  int	 pledge(const char *, const char *);
>  int	 unveil(const char *, const char *);
>  pid_t	 __tfork_thread(const struct __tfork *, size_t, void (*)(void *),
>