~ubuntu-branches/ubuntu/maverick/texinfo/maverick

« back to all changes in this revision

Viewing changes to intl/explodename.c

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2005-10-28 15:10:30 UTC
  • mto: (2.1.1 dapper) (3.1.4 hardy)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051028151030-9nsf2s2k2z3fktjt
Tags: upstream-4.8
ImportĀ upstreamĀ versionĀ 4.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
 
1
/* Copyright (C) 1995-1998, 2000-2001, 2003 Free Software Foundation, Inc.
2
2
   Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
3
3
 
4
4
   This program is free software; you can redistribute it and/or modify it
38
38
/* @@ end of prolog @@ */
39
39
 
40
40
char *
41
 
_nl_find_language (name)
42
 
     const char *name;
 
41
_nl_find_language (const char *name)
43
42
{
44
43
  while (name[0] != '\0' && name[0] != '_' && name[0] != '@'
45
44
         && name[0] != '+' && name[0] != ',')
50
49
 
51
50
 
52
51
int
53
 
_nl_explode_name (name, language, modifier, territory, codeset,
54
 
                  normalized_codeset, special, sponsor, revision)
55
 
     char *name;
56
 
     const char **language;
57
 
     const char **modifier;
58
 
     const char **territory;
59
 
     const char **codeset;
60
 
     const char **normalized_codeset;
61
 
     const char **special;
62
 
     const char **sponsor;
63
 
     const char **revision;
 
52
_nl_explode_name (char *name,
 
53
                  const char **language, const char **modifier,
 
54
                  const char **territory, const char **codeset,
 
55
                  const char **normalized_codeset, const char **special,
 
56
                  const char **sponsor, const char **revision)
64
57
{
65
58
  enum { undecided, xpg, cen } syntax;
66
59
  char *cp;