changeset 93:d4a72fa16225

misc: miscellaneous issues
author David Demelier <markand@malikania.fr>
date Thu, 26 Mar 2020 10:28:11 +0100
parents cccbea0d0ff1
children ed72843a7194
files Makefile tools/molko-map.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Mar 26 10:25:33 2020 +0100
+++ b/Makefile	Thu Mar 26 10:28:11 2020 +0100
@@ -140,7 +140,7 @@
 
 # Custom rule: does not depend on anything else than jansson.
 tools/molko-map: tools/molko-map.c
-	${CC} ${MY_CFLAGS} -o $@ $< ${CFLAGS} ${JANSSON_CFLAGS} ${JANSSON_LDFLAGS}
+	${CC} ${MY_CFLAGS} -o $@ tools/molko-map.c ${CFLAGS} ${JANSSON_CFLAGS} ${JANSSON_LDFLAGS}
 
 doxygen:
 	doxygen doxygen/Doxyfile
--- a/tools/molko-map.c	Thu Mar 26 10:25:33 2020 +0100
+++ b/tools/molko-map.c	Thu Mar 26 10:28:11 2020 +0100
@@ -47,7 +47,7 @@
 	       strcmp(name, "objects") == 0;
 }
 
-const json_t *
+static const json_t *
 find_property(const json_t *props, const char *which)
 {
 	json_t *value;