nspawn: drop unnecessary wrapper functions
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 Oct 2023 16:58:55 +0000 (18:58 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 6 Oct 2023 14:45:49 +0000 (16:45 +0200)
commitf95c9f46e257ef335faaac14ff4db6477f950342
treee17bf36f9adfdf3348814fa67865f39bc464a83b
parent15461b7f19272d39e59e4c6d87dfe9d48f4d1f99
nspawn: drop unnecessary wrapper functions

The naming was confused: suffix 'p' means that the function takes a pointer to
the type that the wrapped function takes. (E.g., a char**, for a wrapped function
taking a char*.)  But DEFINE_TRIVIAL_DESTRUCTOR() just changes the return type.

Also add one more assert for consistency.
src/nspawn/nspawn-oci.c