svn commit: r341445 - head/lib/libthr/thread

Brooks Davis brooks at FreeBSD.org
Mon Dec 3 22:09:24 UTC 2018


Author: brooks
Date: Mon Dec  3 22:09:23 2018
New Revision: 341445
URL: https://svnweb.freebsd.org/changeset/base/341445

Log:
  Remove declarations of syscalls not used in libthr.
  
  Reviewed by:	kib
  Sponsored by:	DARPA, AFRL

Modified:
  head/lib/libthr/thread/thr_private.h

Modified: head/lib/libthr/thread/thr_private.h
==============================================================================
--- head/lib/libthr/thread/thr_private.h	Mon Dec  3 22:02:08 2018	(r341444)
+++ head/lib/libthr/thread/thr_private.h	Mon Dec  3 22:09:23 2018	(r341445)
@@ -865,10 +865,6 @@ int     __sys_openat(int, const char *, int, ...);
 
 /* #include <signal.h> */
 #ifdef _SIGNAL_H_
-int	__sys_kill(pid_t, int);
-int     __sys_sigaltstack(const struct sigaltstack *, struct sigaltstack *);
-int     __sys_sigpending(sigset_t *);
-int     __sys_sigreturn(const ucontext_t *);
 #ifndef _LIBC_PRIVATE_H_
 int     __sys_sigaction(int, const struct sigaction *, struct sigaction *);
 int     __sys_sigprocmask(int, const sigset_t *, sigset_t *);
@@ -899,8 +895,6 @@ int	__sys_swapcontext(ucontext_t *oucp, const ucontext
 
 /* #include <unistd.h> */
 #ifdef  _UNISTD_H_
-void	__sys_exit(int);
-pid_t	__sys_getpid(void);
 #ifndef _LIBC_PRIVATE_H_
 int     __sys_close(int);
 int	__sys_fork(void);


More information about the svn-src-all mailing list