ia64/xen-unstable

diff tools/libxen/src/xen_int_string_set_map.c @ 16738:2d9a8a4d7e73

libxen: Avoid declarations-after-statement (C++ coding style).
Signed-off-by: Andre Przywara <andre.przywara@amd.com>

libxen: Use build-system CFLAGS and LDFLAGS.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jan 17 15:11:22 2008 +0000 (2008-01-17)
parents 295858ddac87
children
line diff
     1.1 --- a/tools/libxen/src/xen_int_string_set_map.c	Thu Jan 17 15:06:30 2008 +0000
     1.2 +++ b/tools/libxen/src/xen_int_string_set_map.c	Thu Jan 17 15:11:22 2008 +0000
     1.3 @@ -36,12 +36,14 @@ xen_int_string_set_map_alloc(size_t size
     1.4  void
     1.5  xen_int_string_set_map_free(xen_int_string_set_map *map)
     1.6  {
     1.7 +	size_t n;
     1.8 +
     1.9      if (map == NULL)
    1.10      {
    1.11          return;
    1.12      }
    1.13  
    1.14 -    size_t n = map->size;
    1.15 +    n = map->size;
    1.16      for (size_t i = 0; i < n; i++)
    1.17      {
    1.18