From 0644703068ca08535bb57369fd63f90f1300d5bc Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Fri, 23 Jan 2009 02:07:37 +0000 Subject: [PATCH] Having the first argument to main() non-int is an error in GCC 4.3. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28990 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/lsindex.cpp | 2 +- src/bin/mkindex.cpp | 2 +- src/bin/query.cpp | 2 +- src/bin/rmattr.cpp | 2 +- src/bin/rmindex.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/lsindex.cpp b/src/bin/lsindex.cpp index f9ba2e31d9..bb81b5e469 100644 --- a/src/bin/lsindex.cpp +++ b/src/bin/lsindex.cpp @@ -148,7 +148,7 @@ print_index_verbose_stat(const index_info &info, char *name) int -main(int32 argc, char **argv) +main(int argc, char **argv) { dev_t device = dev_for_path("."); DIR *indices = NULL; diff --git a/src/bin/mkindex.cpp b/src/bin/mkindex.cpp index bf90255d11..8a20425265 100644 --- a/src/bin/mkindex.cpp +++ b/src/bin/mkindex.cpp @@ -94,7 +94,7 @@ usage(int status) int -main(int32 argc, char **argv) +main(int argc, char **argv) { char *indexTypeName = "string"; int indexType = B_STRING_TYPE; diff --git a/src/bin/query.cpp b/src/bin/query.cpp index a7c783de82..e520ef0541 100644 --- a/src/bin/query.cpp +++ b/src/bin/query.cpp @@ -92,7 +92,7 @@ perform_query(BVolume &volume, const char *predicate) int -main(int32 argc, char **argv) +main(int argc, char **argv) { // Make sure we have the minimum number of arguments. if (argc < 2) diff --git a/src/bin/rmattr.cpp b/src/bin/rmattr.cpp index 5a82ced557..195d762441 100644 --- a/src/bin/rmattr.cpp +++ b/src/bin/rmattr.cpp @@ -89,7 +89,7 @@ remove_attribute(int fd, const char* attribute, bool isPattern) int -main(int32 argc, const char **argv) +main(int argc, const char **argv) { // Make sure we have the minimum number of arguments. if (argc < 3) diff --git a/src/bin/rmindex.cpp b/src/bin/rmindex.cpp index fc79914bf4..99489ed220 100644 --- a/src/bin/rmindex.cpp +++ b/src/bin/rmindex.cpp @@ -169,7 +169,7 @@ remove_indices(dev_t device, const char* indexPattern, bool verbose) int -main(int32 argc, char **argv) +main(int argc, char **argv) { bool isPattern = false; bool verbose = false;