From 7c58bbe707e0a7f91af5c7f9d60e2730042c0e1a Mon Sep 17 00:00:00 2001 From: David Howells Date: Thu, 26 Sep 2019 11:06:42 +0100 Subject: [PATCH] xg: Switch AFS_MAX_DESTINATIONS from #define to const int Signed-off-by: David Howells --- rpc-api/volumeserver.xg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc-api/volumeserver.xg b/rpc-api/volumeserver.xg index b3c842a..c7491cd 100644 --- a/rpc-api/volumeserver.xg +++ b/rpc-api/volumeserver.xg @@ -271,7 +271,7 @@ struct replica { struct destServer destserver; }; -#define AFS_MAX_DESTINATIONS 255 +const AFS_MAX_DESTINATIONS = 255; typedef replica manyDests; -- 2.49.0