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/trunk@28771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-07-28 08:12:01 +00:00
parent e53a60147b
commit 51b6bfb011
18 changed files with 26 additions and 0 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
Wed Jul 28 09:38:03 2010 NAKAMURA Usaku <usa@ruby-lang.org>
* cont.c: typos.

View file

@ -1,3 +1,4 @@
#include "ruby/missing.h"
#include <math.h>
double cbrt(double x)

View file

@ -1,4 +1,5 @@
/* Ignore ECONNRESET of FreeBSD */
#include "ruby/missing.h"
#include <errno.h>
#include <unistd.h>
#include <sys/types.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 "ruby/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 "ruby/missing.h"
#include <stdio.h>
#include <math.h>

View file

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

View file

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

View file

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

View file

@ -32,6 +32,7 @@
* http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c
*/
#include "ruby/missing.h"
#include <stdlib.h>
#include <string.h>
#if defined _WIN32 || defined __CYGWIN__

View file

@ -8,6 +8,7 @@ reference - Haruhiko Okumura: C-gengo niyoru saishin algorithm jiten
http://oku.edu.mie-u.ac.jp/~okumura/algo/
*/
#include "ruby/missing.h"
/***********************************************************
gamma.c -- Gamma function
***********************************************************/

View file

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

View file

@ -1,5 +1,6 @@
/* public domain rewrite of memcmp(3) */
#include "ruby/missing.h"
#include <stddef.h>
void *

View file

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

View file

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

View file

@ -31,6 +31,7 @@
static char *rcsid = "$OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include "ruby/missing.h"
#include <sys/types.h>
#include <string.h>

View file

@ -31,6 +31,7 @@
static char *rcsid = "$OpenBSD: strlcpy.c,v 1.5 2001/05/13 15:40:16 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include "ruby/missing.h"
#include <sys/types.h>
#include <string.h>

View file

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

View file

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