From: Hannes Reinecke Date: Thu, 30 Sep 2021 08:24:09 +0000 (+0200) Subject: fabrics: make uuid_from_device_tree and uuid_from_dmi static X-Git-Tag: v1.0-rc0~91^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c7b4f02a68ad79fde71a3b1e4d3af887701313cb;p=users%2Fsagi%2Flibnvme.git fabrics: make uuid_from_device_tree and uuid_from_dmi static The functions are internal to fabrics.c, so mark them as 'static'. Signed-off-by: Hannes Reinecke --- diff --git a/src/nvme/fabrics.c b/src/nvme/fabrics.c index 319d66f7..16e01402 100644 --- a/src/nvme/fabrics.c +++ b/src/nvme/fabrics.c @@ -763,7 +763,7 @@ out_free_log: #define PATH_UUID_IBM "/proc/device-tree/ibm,partition-uuid" -int uuid_from_device_tree(char *system_uuid) +static int uuid_from_device_tree(char *system_uuid) { ssize_t len; int f; @@ -781,7 +781,7 @@ int uuid_from_device_tree(char *system_uuid) #define PATH_DMI_ENTRIES "/sys/firmware/dmi/entries" -int uuid_from_dmi(char *system_uuid) +static int uuid_from_dmi(char *system_uuid) { int f; DIR *d;