diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2021-07-06 15:32:02 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2021-07-06 15:32:02 +0100 |
commit | bdc414e239e27d28a76c1622b2bf2c442bdaa811 (patch) | |
tree | bc0f03515cf971eec97c5fe5c2740137cdb21caf | |
parent | 5612e6f15a85b8725fa2510ef068872be7a73ba3 (diff) | |
download | netsurf-bdc414e239e27d28a76c1622b2bf2c442bdaa811.tar.gz netsurf-bdc414e239e27d28a76c1622b2bf2c442bdaa811.tar.bz2 |
Amiga: squash warning
-rw-r--r-- | frontends/amiga/bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/amiga/bitmap.c b/frontends/amiga/bitmap.c index e160f9351..6a6f8607e 100644 --- a/frontends/amiga/bitmap.c +++ b/frontends/amiga/bitmap.c @@ -155,9 +155,9 @@ void *amiga_bitmap_create(int width, int height, unsigned int state) return bitmap; } +#ifdef __amigaos4__ static void amiga_bitmap_unmap_buffer(void *p) { -#ifdef __amigaos4__ struct bitmap *bm = p; if((nsoption_bool(use_extmem) == true) && (bm->pixdata != NULL)) { @@ -168,8 +168,8 @@ static void amiga_bitmap_unmap_buffer(void *p) bm->iextmem->Unmap(bm->pixdata, bm->size); bm->pixdata = NULL; } -#endif } +#endif /* exported function documented in amiga/bitmap.h */ unsigned char *amiga_bitmap_get_buffer(void *bitmap) |