src/lib/create.c, include/create.h: hide internal stuff

include/create.h:
Out of 4 functions listed, only one is used externally, other two are
internal and yet another one (vps_destroy) is actually from destroy.c!
Remove unneeded prototypes, move define to .c file.

src/lib/create.c:
Mark internal functions as static.

src/vzctl-actions.c:
Include destroy.h as it holds the vps_destroy() prototype.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
3 files changed