Rev 268 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 268 | Rev 439 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | You should have received a copy of the GNU General Public License |
15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software |
16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | */ |
18 | */ |
19 | 19 | ||
- | 20 | #ifndef SPRINTF_TINY_H_ |
|
- | 21 | #define SPRINTF_TINY_H_ |
|
- | 22 | ||
20 | /* |
23 | /* |
21 | #ifdef __MWERKS__ |
24 | #ifdef __MWERKS__ |
22 | #define __MSL_C9X__ // needed for CWPro1, to get double_t |
25 | #define __MSL_C9X__ // needed for CWPro1, to get double_t |
23 | #include <math.h> // double_t - CWPro1 |
26 | #include <math.h> // double_t - CWPro1 |
24 | #else |
27 | #else |
Line 39... | Line 42... | ||
39 | char *udigits(char *p,unsigned long x,int base); |
42 | char *udigits(char *p,unsigned long x,int base); |
40 | char *int_strpad(char *dst,unsigned long x,int n,int base); |
43 | char *int_strpad(char *dst,unsigned long x,int n,int base); |
41 | 44 | ||
42 | int vsprintf_tiny(char *s,char *fmt,va_list v); |
45 | int vsprintf_tiny(char *s,char *fmt,va_list v); |
43 | int sprintf_tiny(char *s,char *fmt,...); |
46 | int sprintf_tiny(char *s,char *fmt,...); |
- | 47 | ||
- | 48 | #endif |