--- speech-tools-1.2.3.orig/audio/nas.cc +++ speech-tools-1.2.3/audio/nas.cc @@ -57,7 +57,7 @@ int nas_supported = TRUE; -int endian_int = 1; +static int endian_int = 1; #define NAS_BIG_ENDIAN (((char *)&endian_int)[0] == 0) static void na_sync_play_cb(AuServer *aud, AuEventHandlerRec *handler, --- speech-tools-1.2.3.orig/include/EST_Chunk.h +++ speech-tools-1.2.3/include/EST_Chunk.h @@ -90,6 +92,8 @@ #endif +class EST_ChunkPtr; + /************************************************************************/ /* */ /* EST_Chunk is a use-counted chunk of memory. You souldn`t be able */ @@ -103,6 +107,15 @@ /* */ /************************************************************************/ +typedef int EST_chunk_size; + +EST_ChunkPtr chunk_allocate(int bytes); +EST_ChunkPtr chunk_allocate(int bytes, const char *initial, int initial_len); +EST_ChunkPtr chunk_allocate(int bytes, const EST_ChunkPtr &initial, int initial_start, int initial_len); + +void make_updatable(EST_ChunkPtr &shared, EST_chunk_size inuse); +void make_updatable(EST_ChunkPtr &shared); + class EST_Chunk { public: typedef unsigned short use_counter; --- speech-tools-1.2.3.orig/include/ling_class/EST_Item.h +++ speech-tools-1.2.3/include/ling_class/EST_Item.h @@ -79,6 +79,9 @@ */ +class EST_Item; +int same_item(const EST_Item *l1,const EST_Item *l2); + class EST_Item { private: --- speech-tools-1.2.3.orig/include/EST_Pathname.h +++ speech-tools-1.2.3/include/EST_Pathname.h @@ -41,6 +41,11 @@ * available as methods. Different implementations are provided for * different systems. */ + +class EST_Pathname; +EST_Pathname operator + (const EST_Pathname p, const EST_Pathname addition); +EST_Pathname operator + (const char *p, const EST_Pathname addition); + class EST_Pathname : public EST_String { private: --- speech-tools-1.2.3.orig/include/EST_String.h +++ speech-tools-1.2.3/include/EST_String.h @@ -74,6 +76,11 @@ * @version $Id: EST_String.h,v 1.2 2001/04/04 13:11:27 awb Exp $ */ +class EST_String; +EST_String operator + (const EST_String &a, const EST_String &b); +EST_String operator + (const char *a, const EST_String &b); +EST_String operator + (const EST_String &a, const char *b); + class EST_String { /** For better libg++ compatibility.