gint g_offset, g_size;
gchar token[4];
gchar ch;
- const char* mapping[128] = {
+ static const char* mapping[128] = {
"_Oa" , "_L-", "" , "_Y-", "_e`", "_e'", "_u`", "_i`", "_o`", "_C,", /*10*/
"" , "_O/", "_o/" , "" , "_A*", "_a*", "_gd", "_--", "_gf", "_gg", "_gl", /*21*/
"_go" , "_gp", "_gi" , "_gs", "_gt", "_gx", "_XX", "_AE", "_ae", "_ss", "_E'", /*32*/
static gint
dissect_enttec_dmx_data(tvbuff_t *tvb, guint offset, proto_tree *tree)
{
- const char* chan_format[] = {
+ static const char* chan_format[] = {
"%2u ",
"%02x ",
"%3u "
};
- const char* string_format[] = {
+ static const char* string_format[] = {
"%03x: %s",
"%3u: %s"
};
static gchar *fmtbuf[3];
static guint fmtbuf_len[3];
static guint idx;
- const guchar *reserved_def = ":/?#[]@!$&'()*+,;= ";
+ static const guchar *reserved_def = ":/?#[]@!$&'()*+,;= ";
const guchar *reserved = reserved_def;
guint8 c;
guint column, i;
int power = 1000;
int pfx_off = 0;
gboolean is_small = FALSE;
- const gchar *prefix[] = {"T", "G", "M", "k", "Ti", "Gi", "Mi", "Ki"};
+ static const gchar *prefix[] = {"T", "G", "M", "k", "Ti", "Gi", "Mi", "Ki"};
gchar *ret_val;
if ((flags & FORMAT_SIZE_PFX_MASK) == format_size_prefix_iec) {