mirror of
https://github.com/acpica/acpica/
synced 2025-02-07 09:04:21 +03:00
fixes for more GCC warnings
date 2001.04.19.23.12.00; author agrover; state Exp;
This commit is contained in:
parent
d7c4aa4116
commit
c4612834b7
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user