gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 on travis-ci returns:
libuuid/src/unparse.c:42:67: error: ‘restrict’ undeclared here (not in a function)
libuuid/src/unparse.c: In function ‘uuid_fmt’:
Signed-off-by: Karel Zak <kzak@redhat.com>
static char const hexdigits_lower[16] = "0123456789abcdef";
static char const hexdigits_upper[16] = "0123456789ABCDEF";
-static void uuid_fmt(const uuid_t uuid, char *buf, char const fmt[restrict])
+static void uuid_fmt(const uuid_t uuid, char *buf, char const *restrict fmt)
{
char *p = buf;
int i;