aboutsummaryrefslogtreecommitdiff
path: root/saga/expr.cpp
diff options
context:
space:
mode:
authorMax Horn2004-04-25 14:42:14 +0000
committerMax Horn2004-04-25 14:42:14 +0000
commitd4f876b37df0fdc772936eedf9b112802987254b (patch)
treec7e782e5846dd153159c574ca9cb2ca250dfd34f /saga/expr.cpp
parentf9cd78cedd48371f8aa9d98cbcdeb879fe543fac (diff)
downloadscummvm-rg350-d4f876b37df0fdc772936eedf9b112802987254b.tar.gz
scummvm-rg350-d4f876b37df0fdc772936eedf9b112802987254b.tar.bz2
scummvm-rg350-d4f876b37df0fdc772936eedf9b112802987254b.zip
Fix many warnings; use C++ type system instead of C style typedefs; removed various unused stuff; const correctness; etc.
svn-id: r13622
Diffstat (limited to 'saga/expr.cpp')
-rw-r--r--saga/expr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/expr.cpp b/saga/expr.cpp
index 32aca92b7f..386be3d7c0 100644
--- a/saga/expr.cpp
+++ b/saga/expr.cpp
@@ -45,7 +45,7 @@
namespace Saga {
-char *EXPR_ErrMsg[] = {
+static const char *EXPR_ErrMsg[] = {
"Invalid error state.",
"No Error",
@@ -81,7 +81,7 @@ enum EXPR_Errors {
static enum EXPR_Errors EXPR_ErrorState;
-int EXPR_GetError(char **err_str)
+int EXPR_GetError(const char **err_str)
/*--------------------------------------------------------------------------*\
Returns the appropriate expression parser error string given an error code.
\*--------------------------------------------------------------------------*/