1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/win32.[ch]: (rb_w32_vsnprintf, rb_w32_snprintf): removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2005-07-25 14:50:12 +00:00
parent 9b4ddc1a01
commit 528f4c66dd
3 changed files with 4 additions and 21 deletions

View file

@ -1,3 +1,7 @@
Mon Jul 25 23:48:55 2005 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.[ch]: (rb_w32_vsnprintf, rb_w32_snprintf): removed.
Mon Jul 25 21:30:46 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> Mon Jul 25 21:30:46 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk: Borland MAKE doesn't look for file names which have paths * common.mk: Borland MAKE doesn't look for file names which have paths

View file

@ -3599,24 +3599,6 @@ rb_w32_utime(const char *path, struct utimbuf *times)
return ret; return ret;
} }
int
rb_w32_vsnprintf(char *buf, size_t size, const char *format, va_list va)
{
return vsnprintf(buf, size, format, va);
}
int
rb_w32_snprintf(char *buf, size_t size, const char *format, ...)
{
int ret;
va_list va;
va_start(va, format);
ret = vsnprintf(buf, size, format, va);
va_end(va);
return ret;
}
int int
rb_w32_mkdir(const char *path, int mode) rb_w32_mkdir(const char *path, int mode)
{ {

View file

@ -178,9 +178,6 @@ extern int rb_w32_rename(const char *, const char *);
extern char **rb_w32_get_environ(void); extern char **rb_w32_get_environ(void);
extern void rb_w32_free_environ(char **); extern void rb_w32_free_environ(char **);
DEPRECATED(extern int rb_w32_vsnprintf(char *, size_t, const char *, va_list));
DEPRECATED(extern int rb_w32_snprintf(char *, size_t, const char *, ...));
extern int chown(const char *, int, int); extern int chown(const char *, int, int);
extern int link(const char *, const char *); extern int link(const char *, const char *);
extern int gettimeofday(struct timeval *, struct timezone *); extern int gettimeofday(struct timeval *, struct timezone *);