From 82270193e6b5b0eadd999a38958d6f4985d2488f Mon Sep 17 00:00:00 2001 From: Hugues Delorme Date: Mon, 23 Nov 2015 16:51:02 +0100 Subject: [PATCH] gmio_core/internal: fix error in code example --- src/gmio_core/internal/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmio_core/internal/string.h b/src/gmio_core/internal/string.h index 955c729..b516ba9 100644 --- a/src/gmio_core/internal/string.h +++ b/src/gmio_core/internal/string.h @@ -48,7 +48,7 @@ typedef struct gmio_string gmio_string_t; * * Example: * \code - * const char token[] = "woops"; + * static const char token[] = "woops"; * gmio_const_string_t token_s = GMIO_CONST_STRING_FROM_ARRAY(token); * \endcode */