projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28052ad
)
tests/etnaviv: drop unused `return 0`
author
Eric Engestrom
<eric.engestrom@imgtec.com>
Fri, 26 Jan 2018 11:03:32 +0000
(11:03 +0000)
committer
Eric Engestrom
<eric.engestrom@imgtec.com>
Mon, 29 Jan 2018 15:41:52 +0000
(15:41 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
tests/etnaviv/write_bmp.c
patch
|
blob
|
history
diff --git
a/tests/etnaviv/write_bmp.c
b/tests/etnaviv/write_bmp.c
index
7ae0646
..
f7b6bc6
100644
(file)
--- a/
tests/etnaviv/write_bmp.c
+++ b/
tests/etnaviv/write_bmp.c
@@
-63,7
+63,7
@@
struct dib_header {
unsigned int unused[12];
} __attribute__((__packed__));
-static
int
+static
void
bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha)
{
struct bmp_header bmp_header = {
@@
-98,8
+98,6
@@
bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha)
write(fd, &bmp_header, sizeof(struct bmp_header));
write(fd, &dib_header, sizeof(struct dib_header));
-
- return 0;
}
void