summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 74d2ab9)
raw | patch | inline | side by side (parent: 74d2ab9)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 4 May 2008 17:04:37 +0000 (17:04 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 4 May 2008 17:04:37 +0000 (17:04 +0000) |
src/dom/prop-css.cpp | patch | blob | history | |
src/dom/prop-css2.cpp | patch | blob | history | |
src/dom/prop-svg.cpp | patch | blob | history |
diff --git a/src/dom/prop-css.cpp b/src/dom/prop-css.cpp
index 59da4b54f4c4d28bb85fa6089e1a66cc760e65b3..5ef25ce493c4b02adf23c33b0c8b67cbed1e3897 100644 (file)
--- a/src/dom/prop-css.cpp
+++ b/src/dom/prop-css.cpp
struct CssProp_def
{
- char *name;
- char *values;
- char *defaultValue;
- char *appliesTo;
+ const char *name;
+ const char *values;
+ const char *defaultValue;
+ const char *appliesTo;
bool inherited;
- char *percentages;
- char *mediaGroups;
+ const char *percentages;
+ const char *mediaGroups;
};
typedef struct CssProp_def CssProp;
}
-int main(int argc, char **argv)
+int main(int /*argc*/, char **/*argv*/)
{
printTable();
return 0;
diff --git a/src/dom/prop-css2.cpp b/src/dom/prop-css2.cpp
index 4f89327b18dadbf360aad2f931ac85fa67c8f16e..b02bb0ce30912301dad9c88622a63627c297287f 100644 (file)
--- a/src/dom/prop-css2.cpp
+++ b/src/dom/prop-css2.cpp
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005 Bob Jamison
+ * Copyright (C) 2005-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
struct CssProp_def
{
parsefunc func;
- char *name;
- char *values;
- char *defaultValue;
- char *appliesTo;
+ const char *name;
+ const char *values;
+ const char *defaultValue;
+ const char *appliesTo;
bool inherited;
- char *percentages;
- char *mediaGroups;
+ const char *percentages;
+ const char *mediaGroups;
};
-bool parseDefault(CssProp *prop, char *propName, char *propVal)
+bool parseDefault(CssProp */*prop*/, char *propName, char *propVal)
{
printf("######## '%s:%s'\n", propName, propVal);
return true;
}
-int main(int argc, char **argv)
+int main(int /*argc*/, char **/*argv*/)
{
//printTable();
- parseProperty("visibility", "hidden");
+ parseProperty((char *)"visibility", (char *)"hidden");
return 0;
}
diff --git a/src/dom/prop-svg.cpp b/src/dom/prop-svg.cpp
index 6ae96e7a4e45b827560bc31f058e50af6383bc40..0a517ef76f8a39cb633dfb90f4fb0288fcf0c8b1 100644 (file)
--- a/src/dom/prop-svg.cpp
+++ b/src/dom/prop-svg.cpp
}
-int main(int argc, char **argv)
+int main(int /*argc*/, char **/*argv*/)
{
printTable();
return ( ferror(stdout) ? EXIT_FAILURE : EXIT_SUCCESS );