1 /* SPDX-License-Identifier: LGPL-2.1+ */
3 This file is part of systemd.
5 Copyright 2017 Lennart Poettering
8 #include "alloc-util.h"
11 int set_make(Set
**ret
, const struct hash_ops
*hash_ops HASHMAP_DEBUG_PARAMS
, void *add
, ...) {
12 _cleanup_set_free_ Set
*s
= NULL
;
17 s
= set_new(hash_ops HASHMAP_DEBUG_PASS_ARGS
);
31 void *arg
= va_arg(ap
, void*);