From 74108cd74fc3ca3ad4f69b743233fa79791106b9 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 10 Mar 2012 20:35:22 +0000 Subject: [PATCH] Fixed two compiler warnings. git-svn-id: svn://svn.cc65.org/cc65/trunk@5593 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/sp65/main.c | 2 +- src/sp65/pcx.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sp65/main.c b/src/sp65/main.c index c14bf38c0..c0d912eb0 100644 --- a/src/sp65/main.c +++ b/src/sp65/main.c @@ -196,7 +196,7 @@ static void OptPop (const char* Opt attribute ((unused)), -static void OptRead (const char* Opt, const char* Arg) +static void OptRead (const char* Opt attribute ((unused)), const char* Arg) /* Read an input file */ { static const char* NameList[] = { diff --git a/src/sp65/pcx.c b/src/sp65/pcx.c index 036d03c85..53075a1e6 100644 --- a/src/sp65/pcx.c +++ b/src/sp65/pcx.c @@ -42,6 +42,7 @@ #include "xmalloc.h" /* sp65 */ +#include "attr.h" #include "error.h" #include "fileio.h" #include "pcx.h" -- 2.39.5