--- uae/src/cia.c 2018/04/24 16:40:00 1.1.1.3 +++ uae/src/cia.c 2018/04/24 16:42:07 1.1.1.4 @@ -14,8 +14,6 @@ #include "config.h" #include "options.h" #include "threaddep/penguin.h" -#include "gensound.h" -#include "sounddep/sound.h" #include "events.h" #include "memory.h" #include "custom.h" @@ -435,7 +433,7 @@ static void WriteCIAA(uae_u16 addr,uae_u ciaaprb = val; if (prtopen==1) { #ifndef __DOS__ - fprintf (prttmp,"%c",val); + fprintf (prttmp, "%c",val); #else fputc (val, prttmp); fflush (prttmp); @@ -450,9 +448,9 @@ static void WriteCIAA(uae_u16 addr,uae_u } } else { #if defined(__unix) && !defined(__BEOS__) && !defined(__DOS__) - prttmp=(FILE *)popen ((char *)prtname,"w"); + prttmp = (FILE *)popen ((const char *)prtname, "w"); #else - prttmp=(FILE *)fopen ((char *)prtname,"wb"); + prttmp = (FILE *)fopen ((const char *)prtname, "wb"); #endif if (prttmp != NULL) { prtopen = 1;