mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
(struniq_new): Do not declare the return type
to be 'const'; this violates the C standard.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
typedef const char *struniq_t;
|
||||
|
||||
/* Return the struniq for S. */
|
||||
const struniq_t struniq_new (const char *s);
|
||||
struniq_t struniq_new (const char *s);
|
||||
|
||||
/* Two struniq have the same value iff they are the same. */
|
||||
#define STRUNIQ_EQ(S1, S2) ((S1) == (S2))
|
||||
|
||||
Reference in New Issue
Block a user