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:
parent
aacebf533d
commit
0644703068
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user