summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-10 08:48:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-10 08:48:38 +0000
commit14bcae1344091400e419fd9896024a290792ee41 (patch)
tree0cf1088a2fe200cf13cadfadb0da1d10401bfd76 /mdadm.h
parentReleasing debian version 4.2+20230508-7. (diff)
downloadmdadm-14bcae1344091400e419fd9896024a290792ee41.tar.xz
mdadm-14bcae1344091400e419fd9896024a290792ee41.zip
Merging upstream version 4.2+20230901.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 83f2cf7..f0ceeb7 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -1805,6 +1805,7 @@ extern void set_dlm_hooks(void);
extern void sleep_for(unsigned int sec, long nsec, bool wake_after_interrupt);
extern bool is_directory(const char *path);
extern bool is_file(const char *path);
+extern int s_gethostname(char *buf, int buf_len);
#define _ROUND_UP(val, base) (((val) + (base) - 1) & ~(base - 1))
#define ROUND_UP(val, base) _ROUND_UP(val, (typeof(val))(base))