Mercurial > mplayer.hg
annotate mpbswap.h @ 27725:ff471ebcf7c0
Declare ThreadProc as void, it does not return anything, fixes the warning:
stream/cache2.c:364: warning: control reaches end of non-void function
author | diego |
---|---|
date | Mon, 13 Oct 2008 15:51:29 +0000 |
parents | 0d255d03016f |
children | c1a3f1bbba26 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_MPBSWAP_H |
2 #define MPLAYER_MPBSWAP_H | |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
3 |
26131
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
4 #include <sys/types.h> |
26203 | 5 #include "config.h" |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
6 #include "libavutil/bswap.h" |
26187 | 7 |
23639
2606b8c645de
Hide our swab prototype when the system has swab since at least the
reimar
parents:
23638
diff
changeset
|
8 #ifndef HAVE_SWAB |
23638
a81e246e3b38
Make sure we always have a swab() prototype when we use it,
reimar
parents:
21557
diff
changeset
|
9 void swab(const void *from, void *to, ssize_t n); |
23639
2606b8c645de
Hide our swab prototype when the system has swab since at least the
reimar
parents:
23638
diff
changeset
|
10 #endif |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
11 |
26029 | 12 #endif /* MPLAYER_MPBSWAP_H */ |