X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=src%2Fregistry_person.h;h=5f6cc24435a7aa1a96adb22a443268c414cddfed;hb=c4b3546b3acd9577d32077a5e100f7ec509883d7;hp=2bbefa318ee57f09ee18d3ae1f97a5d4f9eed4c6;hpb=3e1a333c5749373c0471ad026427e83761fbf4c4;p=netdata.git diff --git a/src/registry_person.h b/src/registry_person.h index 2bbefa31..5f6cc244 100644 --- a/src/registry_person.h +++ b/src/registry_person.h @@ -41,8 +41,8 @@ typedef struct registry_person REGISTRY_PERSON; // PERSON_URL extern REGISTRY_PERSON_URL *registry_person_url_index_find(REGISTRY_PERSON *p, const char *url); -extern REGISTRY_PERSON_URL *registry_person_url_index_add(REGISTRY_PERSON *p, REGISTRY_PERSON_URL *pu) __attribute__((warn_unused_result)); -extern REGISTRY_PERSON_URL *registry_person_url_index_del(REGISTRY_PERSON *p, REGISTRY_PERSON_URL *pu) __attribute__((warn_unused_result)); +extern REGISTRY_PERSON_URL *registry_person_url_index_add(REGISTRY_PERSON *p, REGISTRY_PERSON_URL *pu) NEVERNULL WARNUNUSED; +extern REGISTRY_PERSON_URL *registry_person_url_index_del(REGISTRY_PERSON *p, REGISTRY_PERSON_URL *pu) WARNUNUSED; extern REGISTRY_PERSON_URL *registry_person_url_allocate(REGISTRY_PERSON *p, REGISTRY_MACHINE *m, REGISTRY_URL *u, char *name, size_t namelen, time_t when); extern REGISTRY_PERSON_URL *registry_person_url_reallocate(REGISTRY_PERSON *p, REGISTRY_MACHINE *m, REGISTRY_URL *u, char *name, size_t namelen, time_t when, REGISTRY_PERSON_URL *pu);