gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 0a28368ce3e3b9e1d8524a0624c06d9dbc153cae parent a270bd69979fdd039e417258ebb5438a0484ce23 Author: Toxa <untoxa@mail.ru> Date: Tue, 14 Sep 2021 14:23:55 +0300 fix drawing.h gprint*() function prototypes; fix stdlib ato*() function prototypes Diffstat:
| M | gbdk-lib/include/gb/drawing.h | 8 | ++++---- |
| M | gbdk-lib/include/stdlib.h | 4 | ++-- |
| M | gbdk-lib/libc/targets/gbz80/gprintln.c | 2 | +- |
| M | gbdk-lib/libc/targets/gbz80/gprintn.c | 2 | +- |
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/gbdk-lib/include/gb/drawing.h b/gbdk-lib/include/gb/drawing.h @@ -69,7 +69,7 @@ /** Print the string 'str' with no interpretation @see gotogxy() */ -void gprint(char *str) OLDCALL; +void gprint(char *str) NONBANKED; /** Print 16 bit __number__ in __radix__ (base) in the default font at the current text position. @@ -80,13 +80,13 @@ void gprint(char *str) OLDCALL; The current position is advanced by the numer of characters printed. @see gotogxy() */ -void gprintln(int16_t number, int8_t radix, int8_t signed_value) OLDCALL; +void gprintln(int16_t number, int8_t radix, int8_t signed_value) NONBANKED; /** Print 8 bit __number__ in __radix__ (base) in the default font at the current text position. @see gprintln(), gotogxy() */ -void gprintn(int8_t number, int8_t radix, int8_t signed_value) OLDCALL; +void gprintn(int8_t number, int8_t radix, int8_t signed_value) NONBANKED; /** Print the string and arguments given by __fmt__ with arguments __...__ @@ -104,7 +104,7 @@ void gprintn(int8_t number, int8_t radix, int8_t signed_value) OLDCALL; @return Returns the number of items printed, or -1 if there was an error. @see gotogxy() */ -int8_t gprintf(char *fmt,...) OLDCALL; +int8_t gprintf(char *fmt,...) NONBANKED; /** Old style plot - try @ref plot_point() */ void plot(uint8_t x, uint8_t y, uint8_t colour, uint8_t mode) OLDCALL; diff --git a/gbdk-lib/include/stdlib.h b/gbdk-lib/include/stdlib.h @@ -52,7 +52,7 @@ long labs(long num) OLDCALL; Returns: Int value of string */ -int atoi(const char *s) OLDCALL; +int atoi(const char *s); /** Converts an ASCII string to a long. @@ -61,7 +61,7 @@ int atoi(const char *s) OLDCALL; Returns: Long int value of string */ -long atol(const char *s) OLDCALL; +long atol(const char *s); /** Converts an int into a base 10 ASCII string. @param n Int to convert to a string diff --git a/gbdk-lib/libc/targets/gbz80/gprintln.c b/gbdk-lib/libc/targets/gbz80/gprintln.c @@ -5,7 +5,7 @@ extern char *digits; -void gprintln(int16_t number, int8_t radix, int8_t signed_value) +void gprintln(int16_t number, int8_t radix, int8_t signed_value) NONBANKED { uint16_t l; diff --git a/gbdk-lib/libc/targets/gbz80/gprintn.c b/gbdk-lib/libc/targets/gbz80/gprintn.c @@ -5,7 +5,7 @@ extern char *digits; -void gprintn(int8_t number, int8_t radix, int8_t signed_value) +void gprintn(int8_t number, int8_t radix, int8_t signed_value) NONBANKED { uint8_t i;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.