`restrict' keyword must be in declaration.

This commit is contained in:
Nicolás A. Ortega 2016-12-13 16:12:03 +01:00
parent 449fef2994
commit a5ce845c68
No known key found for this signature in database
GPG Key ID: 614272579C2070D1

View File

@ -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.