summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/struct.c b/struct.c
index ccdaa3a..794b587 100644
--- a/struct.c
+++ b/struct.c
@@ -179,10 +179,10 @@ make_struct(name, member, klass)
VALUE
#ifdef HAVE_STDARG_PROTOTYPES
-rb_struct_define(char *name, ...)
+rb_struct_define(const char *name, ...)
#else
rb_struct_define(name, va_alist)
- char *name;
+ const char *name;
va_dcl
#endif
{