* 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:
parent
e53a60147b
commit
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>
|
Wed Jul 28 09:38:03 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* cont.c: typos.
|
* cont.c: typos.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include "ruby/missing.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
double cbrt(double x)
|
double cbrt(double x)
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* Ignore ECONNRESET of FreeBSD */
|
/* Ignore ECONNRESET of FreeBSD */
|
||||||
|
#include "ruby/missing.h"
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
static char sccsid[] = "@(#)crypt.c 8.1 (Berkeley) 6/4/93";
|
static char sccsid[] = "@(#)crypt.c 8.1 (Berkeley) 6/4/93";
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
reference - Haruhiko Okumura: C-gengo niyoru saishin algorithm jiten
|
reference - Haruhiko Okumura: C-gengo niyoru saishin algorithm jiten
|
||||||
(New Algorithm handbook in C language) (Gijyutsu hyouron
|
(New Algorithm handbook in C language) (Gijyutsu hyouron
|
||||||
sha, Tokyo, 1991) p.227 [in Japanese] */
|
sha, Tokyo, 1991) p.227 [in Japanese] */
|
||||||
|
#include "ruby/missing.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/* public domain rewrite of finite(3) */
|
/* public domain rewrite of finite(3) */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
finite(double n)
|
finite(double n)
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* public domain rewrite of hypot */
|
/* public domain rewrite of hypot */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
double hypot(double x, double y)
|
double hypot(double x, double y)
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/* public domain rewrite of isnan(3) */
|
/* public domain rewrite of isnan(3) */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
|
|
||||||
static int double_ne(double n1, double n2);
|
static int double_ne(double n1, double n2);
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
* http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c
|
* http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if defined _WIN32 || defined __CYGWIN__
|
#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/
|
http://oku.edu.mie-u.ac.jp/~okumura/algo/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
/***********************************************************
|
/***********************************************************
|
||||||
gamma.c -- Gamma function
|
gamma.c -- Gamma function
|
||||||
***********************************************************/
|
***********************************************************/
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* public domain rewrite of memcmp(3) */
|
/* public domain rewrite of memcmp(3) */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* public domain rewrite of memcmp(3) */
|
/* public domain rewrite of memcmp(3) */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
void *
|
void *
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/* public domain rewrite of strchr(3) and strrchr(3) */
|
/* public domain rewrite of strchr(3) and strrchr(3) */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
|
|
||||||
char *
|
char *
|
||||||
strchr(const char *s, int c)
|
strchr(const char *s, int c)
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/* public domain rewrite of strerror(3) */
|
/* public domain rewrite of strerror(3) */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
|
|
||||||
extern int sys_nerr;
|
extern int sys_nerr;
|
||||||
extern char *sys_errlist[];
|
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 $";
|
static char *rcsid = "$OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp $";
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <string.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 $";
|
static char *rcsid = "$OpenBSD: strlcpy.c,v 1.5 2001/05/13 15:40:16 deraadt Exp $";
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/* public domain rewrite of strstr(3) */
|
/* public domain rewrite of strstr(3) */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
|
|
||||||
char *
|
char *
|
||||||
strstr(const char *haystack, const char *needle)
|
strstr(const char *haystack, const char *needle)
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* public domain rewrite of strtol(3) */
|
/* public domain rewrite of strtol(3) */
|
||||||
|
|
||||||
|
#include "ruby/missing.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
long
|
long
|
||||||
|
Loading…
x
Reference in New Issue
Block a user