#include #include #include extern int __pthread_once(void); void dltest(uint32_t **value1, uint32_t **value2) { *value1 = (uint32_t *) __pthread_once; *value2 = (uint32_t *) pthread_self; } ype='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2011-01-10 22:14:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-12 11:18:42 +0100
commit846440bfa59b9a04a68247720edc6d81dcabfec2 (patch)
tree995a84fd9ad12dfd13ecb6a091881542968c8605
parent3b5884bfdfc56e66d9ac6028272b805451a62113 (diff)
pkgmaker: improve error message on missing package category
This patch bores up fatal_error(), so that it now takes arguments in printf-style, but without changing the basic semantics (i.e., messages prefixed by "Fatal error. " and trailing newline automatically appended). Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--tools/adk/pkgmaker.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/adk/pkgmaker.c b/tools/adk/pkgmaker.c
index e2b6e6e99..dd4b90f46 100644
--- a/tools/adk/pkgmaker.c
+++ b/tools/adk/pkgmaker.c