summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-14 04:47:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-14 04:47:57 +0000
commit8b6cb6994c2d2e5a9be49f8a4c78542e86abddda (patch)
tree3d149f42dc504c7bd1ec4e0666308d3d0208ac7c /st.c
parente9ac3573f0025893957d785aa6f0ce361411c8e0 (diff)
* common.mk (ruby.imp): fix for circular dependency. a patch from
Yutaka Kanemoto <kinpoco AT gmail.com> in [ruby-dev:32590]. * regint.h, st.c, ext/json/ext/generator/generator.c: suppress warnings on AIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r--st.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/st.c b/st.c
index 5efd57e439..4d21016a68 100644
--- a/st.c
+++ b/st.c
@@ -2,12 +2,6 @@
/* static char sccsid[] = "@(#) st.c 5.1 89/12/14 Crucible"; */
-#include <stdio.h>
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#include <string.h>
-
#ifdef NOT_RUBY
#include "regint.h"
#include "st.h"
@@ -17,6 +11,12 @@
#include "ruby/st.h"
#endif
+#include <stdio.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include <string.h>
+
typedef struct st_table_entry st_table_entry;
struct st_table_entry {