From 882fbab6ae35ecdbdb902d428b2debe20c9e7cf1 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 12 Jan 2021 04:29:08 +0100 Subject: [PATCH] libgluonutil: add missing gluonutil_get_primary_domain() prototype Fixes respondd on 64bit archs, as gluonutil_get_primary_domain() was assumed to return int without the prototype. Fixes: bcf57467dd45 ("libgluonutil: implement gluonutil_get_primary_domain()") (cherry picked from commit 52ee93f160f87f015b3615eaeee506c2adcde604) --- package/libgluonutil/src/libgluonutil.h | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libgluonutil/src/libgluonutil.h b/package/libgluonutil/src/libgluonutil.h index 39b253ba..a2fe0744 100644 --- a/package/libgluonutil/src/libgluonutil.h +++ b/package/libgluonutil/src/libgluonutil.h @@ -42,6 +42,7 @@ struct json_object * gluonutil_wrap_and_free_string(char *str); bool gluonutil_has_domains(void); char * gluonutil_get_domain(void); +char * gluonutil_get_primary_domain(void); struct json_object * gluonutil_load_site_config(void); #endif /* _LIBGLUON_LIBGLUON_H_ */