diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:57 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:57 +0000 |
commit | 6f27a7fc6c8471534c5cee39cffdc2def1388bdc (patch) | |
tree | bcf6145945cff4c721ffc1f9256bffe43e965069 /apt-pkg/contrib/error.h | |
parent | a246f2dc8c6084d857edb2792ce6b37c794e3d69 (diff) | |
download | apt-6f27a7fc6c8471534c5cee39cffdc2def1388bdc.tar.gz |
Sync
Author: jgg
Date: 1998-09-12 02:46:25 GMT
Sync
Diffstat (limited to 'apt-pkg/contrib/error.h')
-rw-r--r-- | apt-pkg/contrib/error.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/contrib/error.h b/apt-pkg/contrib/error.h index 5d015c417..7250bb1c0 100644 --- a/apt-pkg/contrib/error.h +++ b/apt-pkg/contrib/error.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: error.h,v 1.3 1998/07/12 23:58:47 jgg Exp $ +// $Id: error.h,v 1.4 1998/09/12 02:46:27 jgg Exp $ /* ###################################################################### Global Erorr Class - Global error mechanism @@ -82,8 +82,8 @@ class GlobalError GlobalError(); }; -/* The 'extra-ansi' syntax is used to help with collisions. This is the - single global instance of this class. */ -extern GlobalError *_error; +// The 'extra-ansi' syntax is used to help with collisions. +GlobalError *_GetErrorObj(); +#define _error _GetErrorObj() #endif |