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

« back to all changes in this revision

Viewing changes to lib/audio/SvrName.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:
28
28
#define DEFAULT_AUSERVER ":0"
29
29
 
30
30
#ifdef AU_NOT_STDC_ENV
31
 
extern _AuConst char *getenv();
 
31
extern const char *getenv();
32
32
#endif
33
33
 
34
 
_AuConst char *
35
 
AuServerName (_AuConst char *name)
 
34
const char *
 
35
AuServerName (const char *name)
36
36
{
37
37
    if (name && name[0])
38
38
        return name;
39
39
 
40
 
    name = (_AuConst char *) getenv ("AUDIOSERVER");
 
40
    name = (const char *) getenv ("AUDIOSERVER");
41
41
    if (name)
42
42
        return name;
43
43
 
44
 
    name = (_AuConst char *) getenv ("DISPLAY");
 
44
    name = (const char *) getenv ("DISPLAY");
45
45
    if (name)
46
46
        return name;
47
47