~ubuntu-branches/debian/squeeze/nas/squeeze

« back to all changes in this revision

Viewing changes to lib/audio/AuErrDes.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre
  • Date: 2008-10-08 01:18:19 UTC
  • mfrom: (4.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081008011819-wmr4h2w0298k8t7z
Tags: 1.9.1-5
* Fix pending l10n issues. Debconf translations:
* Swedish. Closes: #491766 (thanks to brother@bsnet.se)
* Arabic. Closes: #500437 (thanks to Ossama Khayat)
* Basque. Closes: #500533 (thanks to Piarres Beobide)
* Brazilian Portuguese. Closes: #500973 (thanks to Felipe
  Augusto van de Wiel)
* Many thanks again to Christian Perrier for his i18n efforts,
  co-ordinating the above.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
typedef char   *XPointer;
45
45
#endif
46
46
 
47
 
static _AuConst char * _AuConst _AuErrorList[] = {
 
47
static const char * const _AuErrorList[] = {
48
48
    /* No error */              "no error",
49
49
    /* AuBadRequest */          "BadRequest",
50
50
    /* AuBadValue */            "BadValue",
110
110
}
111
111
 
112
112
static XrmDatabase
113
 
getFileDataBase(char *filename)
 
113
getFileDataBase(const char *filename)
114
114
{
115
115
    FILE           *fp;
116
116
    char            line[BUFSIZ],
215
215
#endif                                          /* NO_XLIB */
216
216
 
217
217
void
218
 
AuGetErrorText(register AuServer *aud, register int code, 
 
218
AuGetErrorText(AuServer *aud, int code, 
219
219
               char *buffer, int nbytes)
220
220
{
221
221
    char buf[150];
222
 
    register _AuExtension *ext;
 
222
    _AuExtension *ext;
223
223
    _AuExtension *bext = (_AuExtension *)NULL;
224
224
 
225
225
    if (nbytes == 0) return;
252
252
/*ARGSUSED*/
253
253
AuGetErrorDatabaseText(
254
254
    AuServer *aud,
255
 
    register _AuConst char *name,
256
 
    register _AuConst char *type,
257
 
    _AuConst char *defaultp,
 
255
    const char *name,
 
256
    const char *type,
 
257
    const char *defaultp,
258
258
    char *buffer,
259
259
    int nbytes)
260
260
{