mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* missing.h: add for missing/*.c.
* ruby.h: add `#include "missing.h"'. * Makefile.in: add the dependency of missing.h by gcc -MM. * MANIFEST: add missing.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
592f838016
commit
ddee6e7c06
4 changed files with 182 additions and 37 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
Sun May 12 03:01:08 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* missing.h: add for missing/*.c.
|
||||||
|
|
||||||
|
* ruby.h: add `#include "missing.h"'.
|
||||||
|
|
||||||
|
* Makefile.in: add the dependency of missing.h by gcc -MM.
|
||||||
|
|
||||||
|
* MANIFEST: add missing.h
|
||||||
|
|
||||||
Sat May 11 10:52:09 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
Sat May 11 10:52:09 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
* dir.c (glob_helper): remove escaping backslashes.
|
* dir.c (glob_helper): remove escaping backslashes.
|
||||||
|
|
1
MANIFEST
1
MANIFEST
|
@ -41,6 +41,7 @@ lex.c
|
||||||
main.c
|
main.c
|
||||||
marshal.c
|
marshal.c
|
||||||
math.c
|
math.c
|
||||||
|
missing.h
|
||||||
mkconfig.rb
|
mkconfig.rb
|
||||||
node.h
|
node.h
|
||||||
numeric.c
|
numeric.c
|
||||||
|
|
90
Makefile.in
90
Makefile.in
|
@ -163,8 +163,6 @@ parse.c: parse.y
|
||||||
$(YACC) $<
|
$(YACC) $<
|
||||||
mv -f y.tab.c parse.c
|
mv -f y.tab.c parse.c
|
||||||
|
|
||||||
parse.@OBJEXT@: parse.c
|
|
||||||
|
|
||||||
acosh.@OBJEXT@: $(srcdir)/missing/acosh.c
|
acosh.@OBJEXT@: $(srcdir)/missing/acosh.c
|
||||||
$(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/acosh.c
|
$(CC) -I. $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/missing/acosh.c
|
||||||
|
|
||||||
|
@ -249,42 +247,60 @@ win32.@OBJEXT@: $(srcdir)/win32/win32.c
|
||||||
# Prevent GNU make v3 from overflowing arg limit on SysV.
|
# Prevent GNU make v3 from overflowing arg limit on SysV.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
###
|
###
|
||||||
parse.@OBJEXT@: parse.y ruby.h config.h defines.h intern.h env.h node.h st.h regex.h util.h lex.c
|
array.@OBJEXT@: array.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
###
|
util.h st.h
|
||||||
array.@OBJEXT@: array.c ruby.h config.h defines.h intern.h util.h st.h
|
bignum.@OBJEXT@: bignum.c ruby.h config.h defines.h intern.h missing.h
|
||||||
bignum.@OBJEXT@: bignum.c ruby.h config.h defines.h intern.h
|
class.@OBJEXT@: class.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
class.@OBJEXT@: class.c ruby.h config.h defines.h intern.h rubysig.h node.h st.h
|
rubysig.h node.h st.h
|
||||||
compar.@OBJEXT@: compar.c ruby.h config.h defines.h intern.h
|
compar.@OBJEXT@: compar.c ruby.h config.h defines.h intern.h missing.h
|
||||||
dir.@OBJEXT@: dir.c ruby.h config.h defines.h intern.h
|
dir.@OBJEXT@: dir.c ruby.h config.h defines.h intern.h missing.h util.h
|
||||||
dln.@OBJEXT@: dln.c config.h defines.h dln.h
|
dln.@OBJEXT@: dln.c config.h defines.h dln.h
|
||||||
dmyext.@OBJEXT@: dmyext.c
|
dmyext.@OBJEXT@: dmyext.c
|
||||||
enum.@OBJEXT@: enum.c ruby.h config.h defines.h intern.h node.h
|
enum.@OBJEXT@: enum.c ruby.h config.h defines.h intern.h missing.h node.h \
|
||||||
error.@OBJEXT@: error.c ruby.h config.h defines.h intern.h env.h version.h
|
util.h
|
||||||
eval.@OBJEXT@: eval.c ruby.h config.h defines.h intern.h node.h env.h rubysig.h st.h dln.h
|
error.@OBJEXT@: error.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
file.@OBJEXT@: file.c ruby.h config.h defines.h intern.h rubyio.h rubysig.h dln.h util.h
|
env.h version.h
|
||||||
gc.@OBJEXT@: gc.c ruby.h config.h defines.h intern.h rubysig.h st.h node.h env.h re.h regex.h
|
eval.@OBJEXT@: eval.c ruby.h config.h defines.h intern.h missing.h node.h \
|
||||||
hash.@OBJEXT@: hash.c ruby.h config.h defines.h intern.h st.h rubysig.h util.h
|
env.h util.h rubysig.h st.h dln.h
|
||||||
inits.@OBJEXT@: inits.c ruby.h config.h defines.h intern.h
|
file.@OBJEXT@: file.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
io.@OBJEXT@: io.c ruby.h config.h defines.h intern.h rubyio.h rubysig.h env.h util.h
|
rubyio.h rubysig.h util.h dln.h
|
||||||
main.@OBJEXT@: main.c ruby.h config.h defines.h intern.h
|
gc.@OBJEXT@: gc.c ruby.h config.h defines.h intern.h missing.h rubysig.h \
|
||||||
marshal.@OBJEXT@: marshal.c ruby.h config.h defines.h intern.h rubyio.h st.h
|
st.h node.h env.h re.h regex.h
|
||||||
prec.@OBJEXT@: prec.c ruby.h config.h defines.h intern.h
|
hash.@OBJEXT@: hash.c ruby.h config.h defines.h intern.h missing.h st.h \
|
||||||
math.@OBJEXT@: math.c ruby.h config.h defines.h intern.h
|
util.h rubysig.h
|
||||||
numeric.@OBJEXT@: numeric.c ruby.h config.h defines.h intern.h
|
inits.@OBJEXT@: inits.c ruby.h config.h defines.h intern.h missing.h
|
||||||
object.@OBJEXT@: object.c ruby.h config.h defines.h intern.h st.h
|
io.@OBJEXT@: io.c ruby.h config.h defines.h intern.h missing.h rubyio.h \
|
||||||
pack.@OBJEXT@: pack.c ruby.h config.h defines.h intern.h
|
rubysig.h env.h util.h
|
||||||
process.@OBJEXT@: process.c ruby.h config.h defines.h intern.h rubysig.h st.h
|
main.@OBJEXT@: main.c ruby.h config.h defines.h intern.h missing.h
|
||||||
random.@OBJEXT@: random.c ruby.h config.h defines.h intern.h
|
marshal.@OBJEXT@: marshal.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
range.@OBJEXT@: range.c ruby.h config.h defines.h intern.h
|
rubyio.h st.h
|
||||||
re.@OBJEXT@: re.c ruby.h config.h defines.h intern.h re.h regex.h
|
math.@OBJEXT@: math.c ruby.h config.h defines.h intern.h missing.h
|
||||||
|
numeric.@OBJEXT@: numeric.c ruby.h config.h defines.h intern.h missing.h
|
||||||
|
object.@OBJEXT@: object.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
|
st.h
|
||||||
|
pack.@OBJEXT@: pack.c ruby.h config.h defines.h intern.h missing.h
|
||||||
|
parse.@OBJEXT@: parse.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
|
env.h node.h st.h regex.h util.h lex.c
|
||||||
|
prec.@OBJEXT@: prec.c ruby.h config.h defines.h intern.h missing.h
|
||||||
|
process.@OBJEXT@: process.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
|
rubysig.h st.h
|
||||||
|
random.@OBJEXT@: random.c ruby.h config.h defines.h intern.h missing.h
|
||||||
|
range.@OBJEXT@: range.c ruby.h config.h defines.h intern.h missing.h
|
||||||
|
re.@OBJEXT@: re.c ruby.h config.h defines.h intern.h missing.h re.h \
|
||||||
|
regex.h
|
||||||
regex.@OBJEXT@: regex.c config.h regex.h
|
regex.@OBJEXT@: regex.c config.h regex.h
|
||||||
ruby.@OBJEXT@: ruby.c ruby.h config.h defines.h intern.h dln.h node.h util.h
|
ruby.@OBJEXT@: ruby.c ruby.h config.h defines.h intern.h missing.h dln.h \
|
||||||
signal.@OBJEXT@: signal.c ruby.h config.h defines.h intern.h rubysig.h
|
node.h util.h
|
||||||
sprintf.@OBJEXT@: sprintf.c ruby.h config.h defines.h intern.h
|
signal.@OBJEXT@: signal.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
|
rubysig.h
|
||||||
|
sprintf.@OBJEXT@: sprintf.c ruby.h config.h defines.h intern.h missing.h
|
||||||
st.@OBJEXT@: st.c config.h st.h
|
st.@OBJEXT@: st.c config.h st.h
|
||||||
string.@OBJEXT@: string.c ruby.h config.h defines.h intern.h re.h regex.h
|
string.@OBJEXT@: string.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
struct.@OBJEXT@: struct.c ruby.h config.h defines.h intern.h
|
re.h regex.h
|
||||||
time.@OBJEXT@: time.c ruby.h config.h defines.h intern.h
|
struct.@OBJEXT@: struct.c ruby.h config.h defines.h intern.h missing.h
|
||||||
util.@OBJEXT@: util.c ruby.h config.h defines.h intern.h util.h
|
time.@OBJEXT@: time.c ruby.h config.h defines.h intern.h missing.h
|
||||||
variable.@OBJEXT@: variable.c ruby.h config.h defines.h intern.h env.h node.h st.h
|
util.@OBJEXT@: util.c ruby.h config.h defines.h intern.h missing.h util.h
|
||||||
version.@OBJEXT@: version.c ruby.h config.h defines.h intern.h version.h
|
variable.@OBJEXT@: variable.c ruby.h config.h defines.h intern.h \
|
||||||
|
missing.h env.h node.h st.h util.h
|
||||||
|
version.@OBJEXT@: version.c ruby.h config.h defines.h intern.h missing.h \
|
||||||
|
version.h
|
||||||
|
|
118
missing.h
Normal file
118
missing.h
Normal file
|
@ -0,0 +1,118 @@
|
||||||
|
/************************************************
|
||||||
|
|
||||||
|
missing.h - prototype for missing/*.c
|
||||||
|
|
||||||
|
$Author$
|
||||||
|
$Date$
|
||||||
|
created at: Sat May 11 23:46:03 JST 2002
|
||||||
|
|
||||||
|
************************************************/
|
||||||
|
|
||||||
|
#ifndef MISSING_H
|
||||||
|
#define MISSING_H
|
||||||
|
|
||||||
|
#ifndef HAVE_ACOSH
|
||||||
|
extern double acosh _((double));
|
||||||
|
extern double asinh _((double));
|
||||||
|
extern double atanh _((double));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_CRYPT
|
||||||
|
extern char *crypt _((char *, char *));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_DUP2
|
||||||
|
extern int dup2 _((int, int));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_FINITE
|
||||||
|
extern int finite _((double));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_FLOCK
|
||||||
|
extern int flock _((int, int));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
#ifndef HAVE_FREXP
|
||||||
|
extern double frexp _((double, int *));
|
||||||
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef HAVE_HYPOT
|
||||||
|
extern double hypot _((double, double));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_ISINF
|
||||||
|
extern int isinf _((double));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_ISNAN
|
||||||
|
extern int isnan _((double));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
#ifndef HAVE_MEMCMP
|
||||||
|
extern int memcmp _((char *, char *, int));
|
||||||
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef HAVE_MEMMOVE
|
||||||
|
extern char *memmove _((char *, char *, int));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_MKDIR
|
||||||
|
extern int mkdir _((char *, int));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
#ifndef HAVE_MODF
|
||||||
|
extern double modf _((double, double *));
|
||||||
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef HAVE_STRCASECMP
|
||||||
|
extern int strcasecmp _((char *, char *));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRNCASECMP
|
||||||
|
extern int strncasecmp _((char *, char *, int));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRCHR
|
||||||
|
extern int strchr _((char *, int));
|
||||||
|
extern int strrchr _((char *, int));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRERROR
|
||||||
|
extern char *strerror _((int));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRFTIME
|
||||||
|
extern size_t strftime _((char *, size_t, const char *, const struct tm *));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRSTR
|
||||||
|
extern char *strstr _((char *, char *));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRTOD
|
||||||
|
extern double strtod _((const char *, char **));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
#ifndef HAVE_STRTOL
|
||||||
|
extern long strtol _((char *, char **, int));
|
||||||
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef HAVE_STRTOUL
|
||||||
|
extern long strtoul _((char *, char **, int));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_VSNPRINTF
|
||||||
|
extern snprintf __((char *, size_t n, char const *, ...));
|
||||||
|
extern vsnprintf _((char *, size_t n, char const *, va_list));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* MISSING_H */
|
Loading…
Add table
Add a link
Reference in a new issue