X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfbe03c9c3ffecd6363dcc63e6fc27b8c6ed70aa..954de0f158dff0bc9a92d7885ae5534a1088e54a:/src/xpm/wrffrdat.c?ds=inline diff --git a/src/xpm/wrffrdat.c b/src/xpm/wrffrdat.c index 6fe3734195..f47cba15ed 100644 --- a/src/xpm/wrffrdat.c +++ b/src/xpm/wrffrdat.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1989-94 GROUPE BULL + * Copyright (C) 1989-95 GROUPE BULL * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -24,7 +24,7 @@ */ /*****************************************************************************\ -* XpmWrFFrData.c: * +* WrFFrData.c: * * * * XPM library * * Parse an Xpm array and write a file that corresponds to it. * @@ -32,11 +32,17 @@ * Developed by Dan Greening dgreen@cs.ucla.edu / dgreen@sti.com * \*****************************************************************************/ -#include "xpm34.h" -#include "xpm34p.h" +#include "XpmI.h" +#ifdef __OS2__ +/* Visual Age cannot deal with old, non-ansi, code */ +int XpmWriteFileFromData(char* filename, char** data) +#else int -XpmWriteFileFromData(char *filename, char **data) +XpmWriteFileFromData(filename, data) + char *filename; + char **data; +#endif { XpmImage image; XpmInfo info;