summaryrefslogtreecommitdiffstats
path: root/test/testunit/runit
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-08 08:54:32 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-08 08:54:32 +0000
commit1a810a5d1f1732548279000b05af7959dffa4289 (patch)
tree6a3b61bb4ea009c276eeef5d6c255a9404b8a495 /test/testunit/runit
parent361f4f3b62b172e6f9d1d796c3a624556aa5b2d7 (diff)
* ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: tk::treectrl uses 'afterId'
not 'afterID'. * ext/tk/sample/tkextlib/treectrl/random.rb: ditto. * ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: item_firstchild can return empty string. (drag onto leaf node) * ext/tk/sample/tkextlib/treectrl/random.rb: ditto. * ext/tk/sample/tkextlib/treectrl/random.rb: comparation failed at Enumerable#find because of type mismatch. (ex: "10" != 10) * ext/tk/sample/tkextlib/treectrl/random.rb: and some fixes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit/runit')
0 files changed, 0 insertions, 0 deletions
30' href='#n130'>130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
/*
 * generic #include file for BSD libc functions which have no other logical
 * home.
 */
#ifndef __BSDLIB__
#define __BSDLIB__
#if defined(__STDC__) || defined(_WINDOWS)
/* compat-4.3 */
extern char *ecvt  (double , int , int *, int *);
extern char *fcvt  (double , int , int *, int *);
extern char *gcvt  (double , int , char *);

/* compat-4.1 */
extern int getpw  (int , char []);
extern int nice  (int );
extern int pause  (void );
extern int srand  (unsigned );
extern int rand  (void );
extern long tell  (int );
extern int utime  (char *, const int []);
extern int vlimit  (int , int );


/* compat-sys5 */
extern int getopt  (int , const char * const *, const char *);
#ifdef FILE
/* XXX depends on stdio #define of FILE */
extern FILE *tmpfile (void);
#endif


extern char *tmpnam  (char *);
extern char *tempnam  (const char *, const char *);


/* other random stuff-- some goes into stdlib.h? */
int abort  (void );
int alarm  (int );
int atoi  (const char *);
long atol  (const char *);

int setkey  (const char *);
int encrypt  (char *, int );
char *crypt  (const char *, const char *);

int ffs  (long );

char *getenv  (const char *);
int setenv  (const char *, const char *, int );
void unsetenv  (const char *);

char *getlogin  (void );
char *getpass  (const char *);
char *getwd  (char *);

char *getusershell  (void );
int endusershell  (void );
int setusershell  (void );

int initgroups  (const char *, int );

struct qelem {
    struct qelem *q_forw;
    struct qelem *q_back;
    char q_data[1];
};

int insque  (struct qelem *, struct qelem *); 
int remque  (struct qelem *); 

int isatty  (int );

int mkstemp  (char *);
char *mktemp  (char *);

int qsort  (char *, int, int, int (*)(char *, char *));

int srandom  (unsigned );
char *initstate  (unsigned , char *, int );
char *setstate  (char *);
long random  (void );

char *re_comp  (const char *);
int re_exec  (const char *);
int backref  (int , const char *);
int cclass  (const char *, int , int );

int setegid  (int );
int seteuid  (int );
int setgid  (int );
int setrgid  (int );
int setruid  (int );
int setuid  (int );

int sleep  (unsigned );

int swab  (char *, char *, int );

int system  (const char *);

char *ttyname  (int );
int ttyslot  (void );

unsigned ualarm  (unsigned , unsigned );
int usleep  (unsigned );
#else /* STDC */
/* compat-4.3 */
extern char *ecvt  ();
extern char *fcvt  ();
extern char *gcvt  ();

/* compat-4.1 */
extern int getpw  ();
extern int nice  ();
extern int pause  ();
extern int srand  ();
extern int rand  ();
extern long tell  ();
extern int utime  ();
extern int vlimit  ();

/* compat-sys5 */
extern int getopt  ();
#ifdef FILE
/* XXX depends on stdio #define of FILE */
extern FILE *tmpfile ();
#endif
extern char *tmpnam  ();
extern char *tempnam  ();

/* other random stuff-- some goes into stdlib.h? */
int abort  ();
int alarm  ();
int atoi  ();
long atol  ();

int setkey  ();
int encrypt  ();
char *crypt  ();

int ffs  ();

char *getenv  ();
int setenv  ();
void unsetenv  ();

char *getlogin  ();
char *getpass  ();
char *getwd  ();

char *getusershell  ();
int endusershell  ();
int setusershell  ();

int initgroups  ();

int insque  (); 
int remque  (); 

int isatty  ();

int mkstemp  ();
char *mktemp  ();

int qsort  ();

int srandom  ();
char *initstate  ();
char *setstate  ();
long random  ();

char *re_comp  ();
int re_exec  ();
int backref  ();
int cclass  ();

int setegid  ();
int seteuid  ();
int setgid  ();
int setrgid  ();
int setruid  ();
int setuid  ();

int sleep  ();

int swab  ();

int system  ();

char *ttyname  ();
int ttyslot  ();

unsigned ualarm  ();
int usleep  ();
#endif /* STDC */

#endif /* __BSDLIB__ */