git.samba.org
/
amitay
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: don't rely on implicit int return type
[amitay/samba.git]
/
tests
/
ftruncate.c
diff --git
a/tests/ftruncate.c
b/tests/ftruncate.c
index d3e5de3afbe695baaaecb1f0c214401d450ccf78..46123762ef7cc9e8f67bf246dcf93a816712d35b 100644
(file)
--- a/
tests/ftruncate.c
+++ b/
tests/ftruncate.c
@@
-11,7
+11,7
@@
#define DATA "conftest.trunc"
#define LEN 7663
-
main(
)
+
int main(void
)
{
int *buf;
int fd = open(DATA,O_RDWR|O_CREAT|O_TRUNC,0666);