From a5ce845c685dc136537940aae841489b3aca1fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega?= Date: Tue, 13 Dec 2016 16:12:03 +0100 Subject: [PATCH] `restrict' keyword must be in declaration. --- src/list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/list.h b/src/list.h index b0bead8..2857433 100644 --- a/src/list.h +++ b/src/list.h @@ -20,14 +20,14 @@ typedef struct { * failure. * @param[in] l A pointer to a List type to be initialized. */ -void initList(List *l); +void initList(List *restrict l); /** * @brief Deinitialize a List. * @details Release all memory that has been allocated to the list. * @param[in] l A pointer to a List type to be deinitialized. */ -void deInitList(List *l); +void deInitList(List *restrict l); /** * @brief Adds a new item to a List type.