X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=snap.h;h=fc8285087c7a74e54353a5508b9f3b4458f7cb9b;hp=b9659aeb0784a92744ea5b3a95d37ad3908aafd4;hb=66cdd5bc99a53d2b408a6cdc2d501fe27f9db13b;hpb=44c1bec753339f5cddcc34c4419505ec928cf88a diff --git a/snap.h b/snap.h index b9659ae..fc82850 100644 --- a/snap.h +++ b/snap.h @@ -13,13 +13,13 @@ HSA_ITEM(HS_RUNNING, "in progress"), \ HSA_ITEM(HS_SUCCESS, "process terminated successfully"), \ HSA_ITEM(HS_NEEDS_RESTART, "restart needed"), \ - HSA_ITEM(HS_POST_RUNNING, "post-hook running"), \ + HSA_ITEM(HS_POST_RUNNING, "post-hook running") #define HSA_ITEM(x, y) x enum hook_status {HOOK_STATUS_ARRAY}; #undef HSA_ITEM -#define HSA_ITEM(x, y) [x] = y +#define HSA_ITEM(x, y) y /** @@ -37,7 +37,7 @@ enum snapshot_status_flags { /** The rsync process terminated successfully. */ SS_COMPLETE = 1, /** The rm process is running to remove this snapshot. */ - SS_BEING_DELETED = 2, + SS_BEING_DELETED = 2 }; /** Describes one snapshot. */