mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Add toascii() implementation.
svn path=/trunk/yasm/; revision=67
This commit is contained in:
parent
8a6e7a9d48
commit
bfd5122925
4 changed files with 36 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: util.h,v 1.3 2001/06/28 21:22:01 peter Exp $
|
||||
/* $Id: util.h,v 1.4 2001/06/29 02:11:36 peter Exp $
|
||||
* Defines prototypes for replacement functions if needed.
|
||||
*
|
||||
* Copyright (C) 2001 Peter Johnson
|
||||
|
|
@ -26,4 +26,12 @@
|
|||
char *strdup(const char *str);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRTOUL
|
||||
unsigned long strtoul(const char *nptr, char **endptr, int base);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_TOASCII
|
||||
# define toascii(c) ((c) & 0x7F)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: util.h,v 1.3 2001/06/28 21:22:01 peter Exp $
|
||||
/* $Id: util.h,v 1.4 2001/06/29 02:11:36 peter Exp $
|
||||
* Defines prototypes for replacement functions if needed.
|
||||
*
|
||||
* Copyright (C) 2001 Peter Johnson
|
||||
|
|
@ -26,4 +26,12 @@
|
|||
char *strdup(const char *str);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRTOUL
|
||||
unsigned long strtoul(const char *nptr, char **endptr, int base);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_TOASCII
|
||||
# define toascii(c) ((c) & 0x7F)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
10
src/util.h
10
src/util.h
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: util.h,v 1.3 2001/06/28 21:22:01 peter Exp $
|
||||
/* $Id: util.h,v 1.4 2001/06/29 02:11:36 peter Exp $
|
||||
* Defines prototypes for replacement functions if needed.
|
||||
*
|
||||
* Copyright (C) 2001 Peter Johnson
|
||||
|
|
@ -26,4 +26,12 @@
|
|||
char *strdup(const char *str);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRTOUL
|
||||
unsigned long strtoul(const char *nptr, char **endptr, int base);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_TOASCII
|
||||
# define toascii(c) ((c) & 0x7F)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
10
util.h
10
util.h
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: util.h,v 1.3 2001/06/28 21:22:01 peter Exp $
|
||||
/* $Id: util.h,v 1.4 2001/06/29 02:11:36 peter Exp $
|
||||
* Defines prototypes for replacement functions if needed.
|
||||
*
|
||||
* Copyright (C) 2001 Peter Johnson
|
||||
|
|
@ -26,4 +26,12 @@
|
|||
char *strdup(const char *str);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRTOUL
|
||||
unsigned long strtoul(const char *nptr, char **endptr, int base);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_TOASCII
|
||||
# define toascii(c) ((c) & 0x7F)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue