|
From: | Jose E. Marchesi |
Subject: | Re: [PATCH 4/6] poke: Add new function pk_assert_alloc |
Date: | Thu, 07 May 2020 18:39:27 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
+static inline void +pk_assert_alloc(const void *m) No space after function name. +{ + if (!m) + { + pk_printf (_("out of memory\n")); + exit (EXIT_FAILURE); + } +} Please use a do { .. } while (0) instead of a compound statement.
[Prev in Thread] | Current Thread | [Next in Thread] |