diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-02 17:55:16 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-02 17:55:16 -0300 |
commit | a2a090e10f031aed6dbf6d143d6ce8abdf7a2392 (patch) | |
tree | e957e58dfebeacf505b98c9966d7ac1319a17b4e /src/smi_pcirename.h | |
parent | 2d5ba5f7310fa8e11f7349d116aa871a239ac35f (diff) |
Correct all compiler warning messages.
Code compiled with:
gcc -Wall -Wbad-function-cast -Wdeclaration-after-statement \
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
-fno-strict-aliasing -Wold-style-definition -Wpointer-arith \
-Wstrict-prototypes
This patch also makes most smi_501.c functions static, as they are not
called from anywhere else.
Also removed prototypes for non existent functions in smi_501.h.
Diffstat (limited to 'src/smi_pcirename.h')
-rw-r--r-- | src/smi_pcirename.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/smi_pcirename.h b/src/smi_pcirename.h index 9321046..64f52f3 100644 --- a/src/smi_pcirename.h +++ b/src/smi_pcirename.h @@ -26,8 +26,8 @@ * library. The main purpose being to facilitate source code compatibility. */ -#ifndef S3PCIRENAME_H -#define S3PCIRENAME_H +#ifndef SMIPCIRENAME_H +#define SMIPCIRENAME_H enum region_type { REGION_MEM, @@ -119,4 +119,4 @@ typedef struct pci_device *pciVideoPtr; #endif /* XSERVER_LIBPCIACCESS */ -#endif /* CIRPCIRENAME_H */ +#endif /* SMIPCIRENAME_H */ |