summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-06-24 01:05:13 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-24 14:44:09 +0200
commit2cd6b182814c58090d842d770a88b5f356c8d330 (patch)
tree7294c44aa4e83603f425e31f34d18f746ad2d7ca
parent63b8775e681c4901e4a2f1ec09086e3380f8b48d (diff)
use sane main()
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--elftosb2/elftosb.cpp4
-rw-r--r--encryptgpk/encryptgpk.cpp4
-rw-r--r--keygen/keygen.cpp4
-rw-r--r--sbtool/sbtool.cpp4
4 files changed, 8 insertions, 8 deletions
diff --git a/elftosb2/elftosb.cpp b/elftosb2/elftosb.cpp
index 7d9bf28..57c3312 100644
--- a/elftosb2/elftosb.cpp
+++ b/elftosb2/elftosb.cpp
@@ -71,7 +71,7 @@ const char k_usageText[] = "\nOptions:\n\
-V/--verbose Print extra detailed log information\n\n";
// prototypes
-int main(int argc, char* argv[], char* envp[]);
+int main(int argc, char* argv[]);
/*!
* \brief Class that encapsulates the elftosb tool.
@@ -683,7 +683,7 @@ const elftosbTool::FamilyNameTableEntry elftosbTool::kFamilyNameTable[] =
/*!
* Main application entry point. Creates an sbtool instance and lets it take over.
*/
-int main(int argc, char* argv[], char* envp[])
+int main(int argc, char* argv[])
{
try
{
diff --git a/encryptgpk/encryptgpk.cpp b/encryptgpk/encryptgpk.cpp
index f5cc361..1e8ea8e 100644
--- a/encryptgpk/encryptgpk.cpp
+++ b/encryptgpk/encryptgpk.cpp
@@ -80,7 +80,7 @@ static const uint8_t kInitVector[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
typedef std::vector<std::string> string_vector_t;
// prototypes
-int main(int argc, char* argv[], char* envp[]);
+int main(int argc, char* argv[]);
/*!
* \brief Class that encapsulates the sbtool interface.
@@ -423,7 +423,7 @@ public:
/*!
* Main application entry point. Creates an sbtool instance and lets it take over.
*/
-int main(int argc, char* argv[], char* envp[])
+int main(int argc, char* argv[])
{
try
{
diff --git a/keygen/keygen.cpp b/keygen/keygen.cpp
index 0774069..c4c82c6 100644
--- a/keygen/keygen.cpp
+++ b/keygen/keygen.cpp
@@ -49,7 +49,7 @@ const char k_usageText[] = "\nOptions:\n\
typedef std::vector<std::string> string_vector_t;
// prototypes
-int main(int argc, char* argv[], char* envp[]);
+int main(int argc, char* argv[]);
/*!
* \brief Class that encapsulates the keygen interface.
@@ -327,7 +327,7 @@ public:
/*!
* Main application entry point. Creates an sbtool instance and lets it take over.
*/
-int main(int argc, char* argv[], char* envp[])
+int main(int argc, char* argv[])
{
try
{
diff --git a/sbtool/sbtool.cpp b/sbtool/sbtool.cpp
index 0dad78b..a6cfd02 100644
--- a/sbtool/sbtool.cpp
+++ b/sbtool/sbtool.cpp
@@ -60,7 +60,7 @@ const char k_usageText[] = "\nOptions:\n\
typedef std::vector<std::string> string_vector_t;
// prototypes
-int main(int argc, char* argv[], char* envp[]);
+int main(int argc, char* argv[]);
/*!
* \brief Class that encapsulates the sbtool interface.
@@ -607,7 +607,7 @@ public:
/*!
* Main application entry point. Creates an sbtool instance and lets it take over.
*/
-int main(int argc, char* argv[], char* envp[])
+int main(int argc, char* argv[])
{
try
{