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
This commit is contained in:
Michael Lotz 2009-01-23 02:07:37 +00:00
parent aacebf533d
commit 0644703068
5 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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)

View File

@ -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)

View File

@ -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;