From ca375cc8af4bb9d3a870dd0ff81e9853be216c87 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Mon, 10 Apr 2023 19:36:12 +0200 Subject: Use #pragma once --- src/commodity.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/commodity.h') diff --git a/src/commodity.h b/src/commodity.h index d8ca4c39..8177fb4e 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -44,8 +44,7 @@ * This file contains one of the most basic types in Ledger: * commodity_t, and its annotated cousin, annotated_commodity_t. */ -#ifndef INCLUDED_COMMODITY_H -#define INCLUDED_COMMODITY_H +#pragma once #include "expr.h" @@ -299,5 +298,3 @@ struct commodity_compare { }; } // namespace ledger - -#endif // INCLUDED_COMMODITY_H -- cgit v1.2.3