From 303fb66561adb618bf1c878035ce1d69d03a1022 Mon Sep 17 00:00:00 2001 From: David Howells Date: Thu, 26 Sep 2019 11:01:19 +0100 Subject: [PATCH] xg: Remove AFSUUID_GENERATE Signed-off-by: David Howells --- rpc-api/afsuuid.h | 6 +----- rpc-api/fs.xg | 2 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/rpc-api/afsuuid.h b/rpc-api/afsuuid.h index ee74bdc..5f9f028 100644 --- a/rpc-api/afsuuid.h +++ b/rpc-api/afsuuid.h @@ -34,10 +34,6 @@ %#ifndef _AFSUUID_COMMON_ %#define _AFSUUID_COMMON_ -#ifndef AFSUUID_GENERATE -#define AFSUUID_GENERATE __attribute__((__nogenerate__)) -#endif - struct afsUUID { uint32_t time_low; uint16_t time_mid; @@ -45,6 +41,6 @@ struct afsUUID { uint8_t clock_seq_hi_and_reserved; uint8_t clock_seq_low; uint8_t node[6]; -} AFSUUID_GENERATE; +}; %#endif /* _AFSUUID_COMMON_ */ diff --git a/rpc-api/fs.xg b/rpc-api/fs.xg index d89f929..72e3010 100644 --- a/rpc-api/fs.xg +++ b/rpc-api/fs.xg @@ -37,8 +37,6 @@ package RXAFS_ -#define AFSUUID_GENERATE - #include "common.h" const FLUSHMAX = 10; -- 2.49.0