gbasys

diff src/term.h @ 2:e3dc7705ad9c

communications stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 07 Mar 2012 06:11:51 +0200
parents 875ef6085efc
children 72c6429ae953
line diff
     1.1 --- a/src/term.h	Sun Mar 04 07:06:41 2012 +0200
     1.2 +++ b/src/term.h	Wed Mar 07 06:11:51 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5 -Copyright 2004 John Tsiombikas <nuclear@siggraph.org>
     1.6 +Copyright 2004-2012 John Tsiombikas <nuclear@member.fsf.org>
     1.7  
     1.8 -This file is part of libgba, a library for GameBoy Advance development.
     1.9 +This file is part of gbasys, a library for GameBoy Advance development.
    1.10  
    1.11  This program is free software; you can redistribute it and/or modify
    1.12  it under the terms of the GNU General Public License as published by
    1.13 @@ -32,6 +32,8 @@
    1.14  int gba_getc(FILE *fp);
    1.15  int gba_putc(int c, FILE *fp);
    1.16  
    1.17 +int gba_printf(const char *fmt, ...);
    1.18 +
    1.19  #ifdef getc
    1.20  #undef getc
    1.21  #endif
    1.22 @@ -42,4 +44,9 @@
    1.23  #endif
    1.24  #define putc(c, fp)	gba_putc(c, fp)
    1.25  
    1.26 +#ifdef printf
    1.27 +#undef printf
    1.28 +#endif
    1.29 +#define printf gba_printf
    1.30 +
    1.31  #endif	/* _TERM_H_ */