зеркало из https://github.com/github/ruby.git
* 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:
Родитель
e53a60147b
Коммит
51b6bfb011
|
@ -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.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include "ruby/missing.h"
|
||||
#include <math.h>
|
||||
|
||||
double cbrt(double x)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* Ignore ECONNRESET of FreeBSD */
|
||||
#include "ruby/missing.h"
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/* public domain rewrite of finite(3) */
|
||||
|
||||
#include "ruby/missing.h"
|
||||
|
||||
int
|
||||
finite(double n)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* public domain rewrite of hypot */
|
||||
|
||||
#include "ruby/missing.h"
|
||||
#include <math.h>
|
||||
|
||||
double hypot(double x, double y)
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/* public domain rewrite of isnan(3) */
|
||||
|
||||
#include "ruby/missing.h"
|
||||
|
||||
static int double_ne(double n1, double n2);
|
||||
|
||||
int
|
||||
|
|
|
@ -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__
|
||||
|
|
|
@ -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
|
||||
***********************************************************/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* public domain rewrite of memcmp(3) */
|
||||
|
||||
#include "ruby/missing.h"
|
||||
#include <stddef.h>
|
||||
|
||||
int
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* public domain rewrite of memcmp(3) */
|
||||
|
||||
#include "ruby/missing.h"
|
||||
#include <stddef.h>
|
||||
|
||||
void *
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/* public domain rewrite of strchr(3) and strrchr(3) */
|
||||
|
||||
#include "ruby/missing.h"
|
||||
|
||||
char *
|
||||
strchr(const char *s, int c)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/* public domain rewrite of strerror(3) */
|
||||
|
||||
#include "ruby/missing.h"
|
||||
|
||||
extern int sys_nerr;
|
||||
extern char *sys_errlist[];
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/* public domain rewrite of strstr(3) */
|
||||
|
||||
#include "ruby/missing.h"
|
||||
|
||||
char *
|
||||
strstr(const char *haystack, const char *needle)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* public domain rewrite of strtol(3) */
|
||||
|
||||
#include "ruby/missing.h"
|
||||
#include <ctype.h>
|
||||
|
||||
long
|
||||
|
|
Загрузка…
Ссылка в новой задаче