--- a/src/utils/smallut.h
+++ b/src/utils/smallut.h
@@ -143,9 +143,9 @@
string breakIntoLines(const string& in, unsigned int ll = 100,
unsigned int maxlines= 50);
/** Small utility to substitute printf-like percents cmds in a string */
-bool pcSubst(const string& in, string& out, map<char, string>& subs);
+bool pcSubst(const string& in, string& out, const map<char, string>& subs);
/** Substitute printf-like percents and also %(key) */
-bool pcSubst(const string& in, string& out, map<string, string>& subs);
+bool pcSubst(const string& in, string& out, const map<string, string>& subs);
/** Append system error message */
void catstrerror(string *reason, const char *what, int _errno);