projects
/
wav_header.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics: remove double space
[wav_header.git]
/
wav_header.c
diff --git
a/wav_header.c
b/wav_header.c
index
1aac2e9
..
6cb5157
100644
(file)
--- a/
wav_header.c
+++ b/
wav_header.c
@@
-11,9
+11,7
@@
*/
#include <stdio.h>
*/
#include <stdio.h>
-#include <stdlib.h>
#include <stdint.h>
#include <stdint.h>
-#include <string.h>
#include <endian.h>
#include <endian.h>
@@
-58,7
+56,7
@@
struct fmt {
uint16_t wBitsPerSample;
uint16_t cbSize;
uint8_t extradata[];
uint16_t wBitsPerSample;
uint16_t cbSize;
uint8_t extradata[];
-}
__attribute__((__packed__));
+} __attribute__((__packed__));
struct WAVE {
char fmtheader[8];
struct WAVE {
char fmtheader[8];