From cbb08bdcfce242fe3a6935388d0a24bf821e2225 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 19 Aug 2018 20:28:46 +0200 Subject: [PATCH] Amend previous commit. --- m-bitset.h | 2 +- m-string.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/m-bitset.h b/m-bitset.h index 2e979471..eed81356 100644 --- a/m-bitset.h +++ b/m-bitset.h @@ -40,7 +40,7 @@ typedef struct bitset_s { bitset_limb *ptr; // Pointer to the allocated limbs } bitset_t[1]; typedef struct bitset_s *bitset_ptr; -typedef const struct bitset_s bitset_srcptr; +typedef const struct bitset_s *bitset_srcptr; typedef struct bitset_it_s { size_t index; // index to the array of bit diff --git a/m-string.h b/m-string.h index 8d4b9329..e961ae94 100644 --- a/m-string.h +++ b/m-string.h @@ -74,7 +74,7 @@ typedef struct string_s { char *ptr; } string_t[1]; typedef struct string_s *string_ptr; -typedef const struct string_s string_srcptr; +typedef const struct string_s *string_srcptr; /* Input option for the fgets function */ typedef enum string_fgets_s {