From fb0e8a6fa561cd2a518b6a65f50e8179a19985cc Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Sun, 16 Jan 2022 10:41:49 +0100 Subject: feat: überflüssig Klammern bei sizeof-Operator entfernt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- allocator.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'allocator.h') diff --git a/allocator.h b/allocator.h index fc28833..d47af52 100644 --- a/allocator.h +++ b/allocator.h @@ -1,5 +1,4 @@ -#ifndef ITS1_ALLOCATOR_H_INCLUDED -#define ITS1_ALLOCATOR_H_INCLUDED +#pragma once #include /* size_t */ @@ -29,5 +28,3 @@ void *its1_malloc_zero(struct its1_allocator *allocator, size_t n); #define NEW(ptr) ((ptr) = ALLOCATE(sizeof *(ptr))) #define NEW0(ptr) ((ptr) = ALLOCATE_ZERO(sizeof *(ptr))) - -#endif -- cgit v1.3