~ubuntu-branches/ubuntu/edgy/e2fsprogs/edgy-security

« back to all changes in this revision

Viewing changes to lib/et/init_et.c

  • Committer: Bazaar Package Importer
  • Author(s): Tollef Fog Heen
  • Date: 2005-08-23 10:42:10 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050823104210-t15igvmgrkzea0dq
Tags: 1.38-2ubuntu1
* Merge with Debian.  (Ubuntu #13757)
* Remove tests/f_bad_disconnected_inode/image.gz to be able to build the
  package.  This will (hopefully) be in the next upstream version and is
  just used for testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Header: lib/et/SCCS/s.init_et.c 1.17 03/05/06 00:31:55-04:00 tytso@think.thunk.org $
3
 
 * $Source: /usr/projects/e2fsprogs/e2fsprogs.quux/lib/et/SCCS/s.init_et.c $
4
 
 * $Locker: <Not implemented> $
 
2
 * $Header$
 
3
 * $Source$
 
4
 * $Locker$
5
5
 *
6
6
 * Copyright 1986, 1987, 1988 by MIT Information Systems and
7
7
 *      the MIT Student Information Processing Board.
29
29
    struct error_table et;
30
30
};
31
31
 
32
 
extern struct et_list * _et_list;
 
32
extern struct et_list * _et_dynamic_list;
33
33
 
34
34
int init_error_table(const char * const *msgs, long base, int count)
35
35
{
46
46
    new_et->et.base = base;
47
47
    new_et->et.n_msgs= count;
48
48
 
49
 
    new_et->etl.next = _et_list;
50
 
    _et_list = &new_et->etl;
 
49
    new_et->etl.next = _et_dynamic_list;
 
50
    _et_dynamic_list = &new_et->etl;
51
51
    return 0;
52
52
}