<malloc.h> is no standard header, use <stdlib.h> instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27352 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6d915a4d4c
commit
c1deff9677
@ -14,10 +14,10 @@
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
/** Used to present the characters in the raw data view */
|
||||
@ -66,7 +66,7 @@ dumpRawData(const char *buffer, size_t size)
|
||||
}
|
||||
printf("'\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static status_t
|
||||
@ -219,7 +219,7 @@ main(int argc, char *argv[])
|
||||
} else {
|
||||
// Issue usage message
|
||||
fprintf(stderr, "usage: %s [--raw|-r] attr_name file1 [file2...]\n", program);
|
||||
// Be's original version -only- returned 1 if the
|
||||
// Be's original version -only- returned 1 if the
|
||||
// amount of parameters was wrong, not if the file
|
||||
// or attribute couldn't be found (!)
|
||||
// In all other cases it returned 0
|
||||
|
Loading…
Reference in New Issue
Block a user