~ubuntu-branches/ubuntu/oneiric/oss4/oneiric-proposed

« back to all changes in this revision

Viewing changes to cmd/ossplay/ossplay_wparser.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Rivera
  • Date: 2011-06-16 20:37:48 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110616203748-jbrxik6ql33z54co
Tags: 4.2-build2004-1ubuntu1
* Merge from Debian unstable.
  - Supports our current kernel (LP: #746048)
  Remaining changes:
  - debian/oss4-dkms.dkms.in: s/source/build/ in Kernel headers paths.
* ld-as-needed.patch: Re-order CC arguments to enable building with ld
  --as-needed (LP: #770972)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _OSSRECORD_WPARSER_H
 
2
#define _OSSRECORD_WPARSER_H
 
3
 
 
4
#include "ossplay.h"
 
5
 
 
6
int write_head (FILE *, fctypes_t, big_t, int, int, int);
 
7
int finalize_head (FILE *, fctypes_t, big_t, int, int, int);
 
8
 
 
9
#ifdef OSS_BIG_ENDIAN
 
10
#define BE_INT(x) x
 
11
#define BE_SH(x) x
 
12
#define LE_INT(x) bswap(x)
 
13
#define LE_SH(x) bswaps(x)
 
14
#else
 
15
#define BE_INT(x) bswap(x)
 
16
#define BE_SH(x) bswaps(x)
 
17
#define LE_INT(x) x
 
18
#define LE_SH(x) x
 
19
#endif /* OSS_BIG_ENDIAN */
 
20
 
 
21
#endif