/****************************************************************************
**
**  Name:  extern.c
**
**  Description:
**     Dodge the 64K limit on DS by extern'ing the error array.
**
**  $Log:   S:/tbird/mt2_186/errtext/extern.c_v  $
** 
**    Rev 1.0   16 Dec 1996 14:29:44   Judy
** Initial revision.
** 
**    Rev 1.2   21 Jul 1994 16:02:36   nghia
** Revised to support multiple MKERROR#.H files.
** 
**    Rev 1.1   30 Mar 1994 18:50:40   STEVE
** Don't include errcodec.h.
** 
**    Rev 1.0   30 Mar 1994 18:34:22   tom
** Initial revision.
** 
**  $Header:   S:/tbird/mt2_186/errtext/extern.c_v   1.0   16 Dec 1996 14:29:44   Judy  $
**
**  Copyright (C) 1994 Microtek International.  All rights reserved.
**
*****************************************************************************/

                       /****************************
                        *                          *
                        *       INCLUDE FILES      *
                        *                          *
                        ****************************/

#define _ERRCODEC_       /* prevent inclusion errors */

#ifndef _BASEWIND_
#include "basewind.h"
#endif

#include <stdio.h>
#include <string.h>

#ifndef _MKERRS_
#include "mkerrs.h"
#endif
                       /****************************
                        *                          *
                        *     LOCAL DEFINITIONS    *
                        *                          *
                        ****************************/

/* NOTES: Each ErrorArray must provide its SizeErrArray#() function */

ErrorDef huge ErrorArray[] = {
#include "mkerrors.h"
};

U32 SizeErrArray(VOID) {
   return sizeof(ErrorArray) / sizeof(ErrorDef);
}
/******************************** E O F *************************************/
