Further trim the psx headers and support easy vendoring.
Remove psx_pthread_create() from libpsx - given the way -lpsx is
linked this is not needed.
Also, as pointed out by Lorenz Bauer, "go mod vendor" support
was unable to vendor a copy of psx_syscall.h because it didn't
reside in the same directory as the *.go code for the psx package.
(General discussion https://github.com/golang/go/issues/26366 .)
Given that we can, avoid the use of a sub-directory in the libcap
tree.
Signed-off-by: Andrew G. Morgan <[email protected]>
6 files changed