workbench/classes/datatype/picture: build fix and cleanup

- pictureclass.c: made DT_WRITE non-static
- pictureclass.h: copyright header cleanup
- picture.conf: version bumped
This commit is contained in:
Matthias Rustler 2021-04-05 20:35:46 +02:00 committed by deadwood
parent 5fa1855228
commit eefa1b324a
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
##begin config
version 41.5
version 41.6
classdatatype struct Picture_Data
##end config
##begin cdefprivate

View File

@ -1642,7 +1642,7 @@ LONG WriteBytes(BPTR file, char *data, LONG offset, LONG length)
/**************************************************************************************************/
STATIC IPTR DT_Write(struct IClass *cl, Object *o, struct dtWrite *msg)
IPTR DT_Write(struct IClass *cl, Object *o, struct dtWrite *msg)
{
bug("picture.datatype/DTM_Write fh %d mode %d\n", msg->dtw_FileHandle, msg->dtw_Mode);
if (msg->dtw_FileHandle == BNULL)

View File

@ -1,6 +1,5 @@
/*
Copyright © 1995-2020, The AROS Development Team. All rights reserved.
$Id$
Copyright (C) 1995-2020, The AROS Development Team. All rights reserved.
*/
#define MIN(a,b) (((a) < (b)) ? (a) : (b))