ia64/xen-unstable

changeset 5368:da4da36bfae8

bitkeeper revision 1.1691.1.3 (42a6aecafCIqSXqRF1ueb8i0jgar3w)

Fix 'no value returned in non-void function' warnings on x86/64 gcc.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Jun 08 08:39:38 2005 +0000 (2005-06-08)
parents 70de9cd5f6b6
children 6410a7fd8ff8
files xen/include/asm-x86/string.h
line diff
     1.1 --- a/xen/include/asm-x86/string.h	Wed Jun 08 08:37:45 2005 +0000
     1.2 +++ b/xen/include/asm-x86/string.h	Wed Jun 08 08:39:38 2005 +0000
     1.3 @@ -238,6 +238,7 @@ static always_inline void * __constant_m
     1.4          }
     1.5      }
     1.6  #undef COMMON
     1.7 +    return to;
     1.8  }
     1.9  
    1.10  #define __HAVE_ARCH_MEMCPY
    1.11 @@ -367,6 +368,7 @@ static always_inline void *__constant_c_
    1.12          }
    1.13      }
    1.14  #undef COMMON
    1.15 +    return s;
    1.16  }
    1.17  
    1.18  #define __constant_c_x_memset(s, c, count) \