fixes for more GCC warnings

date	2001.04.19.23.12.00;	author agrover;	state Exp;
This commit is contained in:
aystarik 2005-06-29 15:45:08 +00:00
parent d7c4aa4116
commit c4612834b7

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: aslcompiler.h - common include file
* $Revision: 1.57 $
* $Revision: 1.58 $
*
*****************************************************************************/
@ -129,6 +129,21 @@
/* warn : named type definition in parentheses */
#pragma warning(disable:4115)
/* MS doesn't have getopt, but we implement it */
int
getopt (
int argc,
char **argv,
char *opts);
#endif
#ifdef _LINUX
/* includes native getopt definition */
#include <unistd.h>
#endif
#include <stdio.h>
@ -136,6 +151,7 @@
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
#include "acpi.h"
@ -277,12 +293,6 @@ DbgPrint (
char *Format,
...);
int
getopt (
int argc,
char **argv,
char *opts);
void
ErrorContext (void);