]> git.proxmox.com Git - swtpm.git/commit
swtpm: Remove all interface functions from swtpm_nvstore_dir.h
authorStefan Berger <stefanb@linux.ibm.com>
Sat, 25 Sep 2021 00:24:32 +0000 (20:24 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Sat, 25 Sep 2021 12:52:32 +0000 (08:52 -0400)
commit3d8b87611c25e71db9ff253f188ecbbe2e7fec82
tree91548da640737a8099ed79d971c0cb19314018c5
parent78137e819f2518ea9126acd2fb0fd872ef42f975
swtpm: Remove all interface functions from swtpm_nvstore_dir.h

Remove all interface functions from swtpm_nvstore_dir.h and make them
static in swtpm_nvstore_dir.c. This way we avoid direct calls to these
functions from elsewhere.

Move the declaration of the interface structure into swtpm_nvstore.h
to get rid of swtpm_nvstore_dir.h entirely.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
src/swtpm/Makefile.am
src/swtpm/swtpm_nvstore.c
src/swtpm/swtpm_nvstore.h
src/swtpm/swtpm_nvstore_dir.c
src/swtpm/swtpm_nvstore_dir.h [deleted file]