History

src/common.h : Warn unused.

Erik de Castro Lopo committed 17 years ago

Commit d4f1dc21 parent cc3f1612 files · +15 −1Browse files

Unified · Split

2 files
  1. ChangeLog +9 −1
  2. src/common.h +6 −0
ChangeLog+9−1
@@ -1,6 +1,14 @@
12009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2
3 * src/common.h src/samplerate.c
4 Add new error value SRC_ERR_SINC_PREPARE_DATA_BAD_LEN.
5
6 * src/common.h
7 Add WARN_UNUSED macro.
8
12009-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>92009-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2 10
3 * src/common.h src/samplerate.c11 * src/common.h src/samplerate.c
4 Fix SRC_ERR_BAD_SRC_RATIO error string. Thanks David Cournapeau.12 Fix SRC_ERR_BAD_SRC_RATIO error string. Thanks David Cournapeau.
5 13
62009-01-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>142009-01-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
src/common.h+6−0
@@ -46,6 +46,12 @@ typedef long int32_t ; · 45 unmodified lines
46 46
47#define MAKE_MAGIC(a,b,c,d,e,f) ((a) + ((b) << 4) + ((c) << 8) + ((d) << 12) + ((e) << 16) + ((f) << 20))47#define MAKE_MAGIC(a,b,c,d,e,f) ((a) + ((b) << 4) + ((c) << 8) + ((d) << 12) + ((e) << 16) + ((f) << 20))
48 48
49#ifdef __GNUC__
50# define WARN_UNUSED __attribute__ ((warn_unused_result))
51#else
52# define WARN_UNUSED
53#endif
54
49 55
50#include "samplerate.h"56#include "samplerate.h"
51 57

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t