1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* missing/*.c: include missing.h

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-07-28 08:12:01 +00:00
parent f0c0b81ca3
commit 870fbf44d5
19 changed files with 58 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Wed Jul 28 17:11:48 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* missing/*.c: include missing.h
Tue Jul 27 18:33:42 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include

View file

@ -16,6 +16,34 @@
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
#ifdef __cplusplus
# ifndef HAVE_PROTOTYPES
# define HAVE_PROTOTYPES 1
# endif
# ifndef HAVE_STDARG_PROTOTYPES
# define HAVE_STDARG_PROTOTYPES 1
# endif
#endif
#undef _
#ifdef HAVE_PROTOTYPES
# define _(args) args
#else
# define _(args) ()
#endif
#undef __
#ifdef HAVE_STDARG_PROTOTYPES
# define __(args) args
#else
# define __(args) ()
#endif
#ifdef __cplusplus
#define ANYARGS ...
#else
#define ANYARGS
#endif
#if defined(HAVE_SYS_TIME_H)
# include <sys/time.h>

View file

@ -10,6 +10,7 @@
**********************************************************************/
#include "missing.h"
#include <errno.h>
#include <float.h>
#include <math.h>

View file

@ -34,6 +34,7 @@
static char sccsid[] = "@(#)crypt.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
#include "missing.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

View file

@ -3,6 +3,7 @@
reference - Haruhiko Okumura: C-gengo niyoru saishin algorithm jiten
(New Algorithm handbook in C language) (Gijyutsu hyouron
sha, Tokyo, 1991) p.227 [in Japanese] */
#include "missing.h"
#include <stdio.h>
#include <math.h>

View file

@ -1,5 +1,7 @@
/* public domain rewrite of finite(3) */
#include "missing.h"
int
finite(n)
double n;

View file

@ -1,5 +1,6 @@
/* public domain rewrite of hypot */
#include "missing.h"
#include <math.h>
double hypot(x,y)

View file

@ -1,5 +1,7 @@
/* public domain rewrite of isnan(3) */
#include "missing.h"
static int double_ne();
int

View file

@ -1,5 +1,7 @@
/* public domain rewrite of memcmp(3) */
#include "missing.h"
int
memcmp(s1,s2,len)
char *s1;

View file

@ -1,5 +1,7 @@
/* public domain rewrite of memcmp(3) */
#include "missing.h"
void *
memmove (d, s, n)
void *d, *s;

View file

@ -1,5 +1,6 @@
/* public domain rewrite of strcasecmp(3) */
#include "missing.h"
#include <ctype.h>
int

View file

@ -1,5 +1,7 @@
/* public domain rewrite of strchr(3) and strrchr(3) */
#include "missing.h"
char *
strchr(s, c)
char *s;

View file

@ -1,5 +1,7 @@
/* public domain rewrite of strerror(3) */
#include "missing.h"
extern int sys_nerr;
extern char *sys_errlist[];

View file

@ -1,5 +1,6 @@
/* public domain rewrite of strncasecmp(3) */
#include "missing.h"
#include <ctype.h>
int

View file

@ -1,5 +1,7 @@
/* public domain rewrite of strstr(3) */
#include "missing.h"
char *
strstr(haystack, needle)
char *haystack, *needle;

View file

@ -1,5 +1,6 @@
/* public domain rewrite of strtol(3) */
#include "missing.h"
#include <ctype.h>
long

View file

@ -13,6 +13,7 @@
* express or implied warranty.
*/
#include "missing.h"
#include <ctype.h>
/*

View file

@ -60,6 +60,7 @@
#define FLOATING_POINT
*/
#include "missing.h"
#include <sys/types.h>
#define u_long unsigned long
#define u_short unsigned short

View file

@ -1,7 +1,7 @@
#define RUBY_VERSION "1.8.8"
#define RUBY_RELEASE_DATE "2010-07-27"
#define RUBY_RELEASE_DATE "2010-07-28"
#define RUBY_VERSION_CODE 188
#define RUBY_RELEASE_CODE 20100727
#define RUBY_RELEASE_CODE 20100728
#define RUBY_PATCHLEVEL -1
#define RUBY_VERSION_MAJOR 1
@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 8
#define RUBY_RELEASE_YEAR 2010
#define RUBY_RELEASE_MONTH 7
#define RUBY_RELEASE_DAY 27
#define RUBY_RELEASE_DAY 28
#define NO_STRING_LITERAL_CONCATENATION 1
#ifdef RUBY_EXTERN