X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fstrmap.c;h=05d688633a1d889de5c8a179dd8dd405e49b605d;hb=2d547427d07a921c603e9984f59135377f8b4680;hp=62c554ab0959e2dfd93f7567b6686159a2ba24aa;hpb=6a0f9234f945bc4956e2bcef75f715661a9eba9a;p=idzebra-moved-to-github.git diff --git a/util/strmap.c b/util/strmap.c index 62c554a..05d6886 100644 --- a/util/strmap.c +++ b/util/strmap.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2009 Index Data + Copyright (C) 2004-2013 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -29,7 +32,7 @@ struct strmap_entry { void *data_buf; struct strmap_entry *next; }; - + struct zebra_strmap { NMEM nmem_str; NMEM nmem_ent; @@ -139,7 +142,7 @@ struct zebra_strmap_it_s { int hno; struct strmap_entry *ent; zebra_strmap_t st; - + }; zebra_strmap_it zebra_strmap_it_create(zebra_strmap_t st) @@ -180,7 +183,7 @@ const char *zebra_strmap_it_next(zebra_strmap_it it, void **data_buf, } return 0; } - + /* * Local variables: * c-basic-offset: 4