~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a few of the things the Clang static analyzer detects:
[disorder]
/
lib
/
wav.h
diff --git
a/lib/wav.h
b/lib/wav.h
index
d2de912
..
3c9c477
100644
(file)
--- a/
lib/wav.h
+++ b/
lib/wav.h
@@
-22,10
+22,12
@@
#ifndef WAV_H
#define WAV_H
#ifndef WAV_H
#define WAV_H
+#include "hreader.h"
+
/** @brief WAV file access structure */
struct wavfile {
/** @brief WAV file access structure */
struct wavfile {
- /** @brief File
descriptor onto fi
le */
-
int fd
;
+ /** @brief File
read hand
le */
+
struct hreader input[1]
;
/** @brief File length */
off_t length;
/** @brief File length */
off_t length;