[Crosstoolchain-logs] [device-tree-compiler] 82/198: die: constify format string arg
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:06:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.4.x
in repository device-tree-compiler.
commit 97c122eacc8636b26992cf6e080775f7c28660f9
Author: Mike Frysinger <vapier at gentoo.org>
Date: Wed Apr 10 14:29:08 2013 -0400
die: constify format string arg
We only display this string, so there's no need for it to be writable.
Constify away!
Acked-by: David Gibson <David at gibson.dropbear.id.au>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util.h b/util.h
index 3c20b15..d856eb9 100644
--- a/util.h
+++ b/util.h
@@ -23,7 +23,7 @@
* USA
*/
-static inline void __attribute__((noreturn)) die(char * str, ...)
+static inline void __attribute__((noreturn)) die(const char *str, ...)
{
va_list ap;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list