summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-25 21:17:59 (GMT)
committer John Mark Bell <jmb@netsurf-browser.org>2009-07-25 21:17:59 (GMT)
commitdded6b00138b102e627c562f2f52230925c0309e (patch)
tree194fe5ede2c74d8f1198b05afcbabbbcebcc340f
parenta53eb55237b95b154dcf9c431ccb22dfb4c01a99 (diff)
downloadlibparserutils-dded6b00138b102e627c562f2f52230925c0309e.tar.gz
libparserutils-dded6b00138b102e627c562f2f52230925c0309e.tar.bz2
Make magic static.
svn path=/trunk/libparserutils/; revision=8788
-rw-r--r--src/utils/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/endian.h b/src/utils/endian.h
index ff24dbd..8a4760b 100644
--- a/src/utils/endian.h
+++ b/src/utils/endian.h
@@ -10,7 +10,7 @@
static inline bool endian_host_is_le(void)
{
- uint32_t magic = 0x10000002;
+ static uint32_t magic = 0x10000002;
return (((uint8_t *) &magic)[0] == 0x02);
}