projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git-]
/
src
/
nas.c
diff --git
a/src/nas.c
b/src/nas.c
index
a338ad1
..
ceba9a2
100644
(file)
--- a/
src/nas.c
+++ b/
src/nas.c
@@
-108,7
+108,6
@@
#else /* !emacs */
# define warn(str) fprintf (stderr, "%s\n", (str))
#else /* !emacs */
# define warn(str) fprintf (stderr, "%s\n", (str))
-# define CONST const
#endif /* emacs */
#ifdef XTOOLKIT
#endif /* emacs */
#ifdef XTOOLKIT
@@
-624,7
+623,7
@@
CatchErrorAndJump (AuServer *old_aud,
/* Create a name from the sound. */
static char *
/* Create a name from the sound. */
static char *
-NameFromData (CONST char *buf,
+NameFromData (const char *buf,
int len)
{
int len)
{
@@
-668,7
+667,7
@@
NameFromData (CONST char *buf,
*/
static SndInfo *
*/
static SndInfo *
-SndOpenDataForReading (CONST char *data,
+SndOpenDataForReading (const char *data,
int length)
{
int length)
{
@@
-744,11
+743,11
@@
static size_t file_posn;
/* The length of the "file" */
static size_t file_len;
/* The actual "file" data. */
/* The length of the "file" */
static size_t file_len;
/* The actual "file" data. */
-static CONST void* file_data;
+static const void* file_data;
/* Like fopen, but for a buffer in memory */
static void
/* Like fopen, but for a buffer in memory */
static void
-dopen (CONST void* data, size_t length)
+dopen (const void* data, size_t length)
{
file_data = data;
file_len = length;
{
file_data = data;
file_len = length;
@@
-799,7
+798,7
@@
dseek (long offset, int from)
/* Like ftell, but for a buffer in memory */
static long
/* Like ftell, but for a buffer in memory */
static long
-dtell()
+dtell (void)
{
return file_posn;
}
{
return file_posn;
}
@@
-807,7
+806,7
@@
dtell()
/* Data buffer analogs for FileReadS and FileReadL in NAS. */
static unsigned short
/* Data buffer analogs for FileReadS and FileReadL in NAS. */
static unsigned short
-DataReadS(int swapit)
+DataReadS (int swapit)
{
unsigned short us;
{
unsigned short us;
@@
-818,7
+817,7
@@
DataReadS(int swapit)
}
static AuUint32
}
static AuUint32
-DataReadL(int swapit)
+DataReadL (int swapit)
{
AuUint32 ul;
{
AuUint32 ul;
@@
-829,7
+828,7
@@
DataReadL(int swapit)
}
static int
}
static int
-readChunk(RiffChunk *c)
+readChunk (RiffChunk *c)
{
int status;
char n;
{
int status;
char n;
@@
-845,8
+844,8
@@
readChunk(RiffChunk *c)
read the wave data from a buffer in memory. */
static WaveInfo *
read the wave data from a buffer in memory. */
static WaveInfo *
-WaveOpenDataForReading(CONST char *data,
- int length)
+WaveOpenDataForReading (const char *data,
+ int length)
{
RiffChunk ck;
RIFF_FOURCC fourcc;
{
RiffChunk ck;
RIFF_FOURCC fourcc;