chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prep v232.2: Mask more unneeded functions
[elogind.git]
/
src
/
libelogind
/
sd-id128
/
id128-util.c
diff --git
a/src/libelogind/sd-id128/id128-util.c
b/src/libelogind/sd-id128/id128-util.c
index 337eae24b45132adfd5c8f1ba6f7dfe7e094ca36..a6687b0c9327b36c04bc358826f5989c6449a865 100644
(file)
--- a/
src/libelogind/sd-id128/id128-util.c
+++ b/
src/libelogind/sd-id128/id128-util.c
@@
-153,6
+153,7
@@
int id128_read(const char *p, Id128Format f, sd_id128_t *ret) {
return id128_read_fd(fd, f, ret);
}
+#if 0 /// UNNEEDED by elogind
int id128_write_fd(int fd, Id128Format f, sd_id128_t id, bool do_sync) {
char buffer[36 + 2];
size_t sz;
@@
-205,3
+206,4
@@
const struct hash_ops id128_hash_ops = {
.hash = id128_hash_func,
.compare = id128_compare_func,
};
+#endif // 0