summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKnut St. Osmundsen <bird-nasm@anduin.net>2016-02-24 14:08:22 +0100
committerH. Peter Anvin <hpa@zytor.com>2016-02-26 23:44:10 -0800
commit52ae33a2cbcdd946c6787ebeaa066e149085a8e8 (patch)
tree95aa391731699b457121f3ca53e4640a3ed23e32
parent136c4bc73b554e2dbb6d24caf1dc412ff76a760b (diff)
downloadnasm-52ae33a2cbcdd946c6787ebeaa066e149085a8e8.tar.gz
Remove unnecessary C99 features which break Visual C++ 2010
Fixes Visual C++ 2010 breakage in recently added Codeview 8 code; these are C99 features which were not necessary to introduce. Signed-off-by: Knut St. Osmundsen <bird-nasm@anduin.net> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--md5.h2
-rw-r--r--output/codeview.c18
2 files changed, 10 insertions, 10 deletions
diff --git a/md5.h b/md5.h
index 147d3dd9..ea34cda1 100644
--- a/md5.h
+++ b/md5.h
@@ -1,7 +1,7 @@
#ifndef _MD5_H_
#define _MD5_H_
-#include <stdint.h>
+#include <inttypes.h>
#define MD5_HASHBYTES 16
diff --git a/output/codeview.c b/output/codeview.c
index 2f5bb690..975eef92 100644
--- a/output/codeview.c
+++ b/output/codeview.c
@@ -59,15 +59,15 @@ static void cv8_output(int type, void *param);
static void cv8_cleanup(void);
struct dfmt df_cv8 = {
- .fullname = "Codeview 8",
- .shortname = "cv8",
- .init = cv8_init,
- .linenum = cv8_linenum,
- .debug_deflabel = cv8_deflabel,
- .debug_directive = null_debug_directive,
- .debug_typevalue = cv8_typevalue,
- .debug_output = cv8_output,
- .cleanup = cv8_cleanup,
+ "Codeview 8", /* .fullname */
+ "cv8", /* .shortname */
+ cv8_init, /* .init */
+ cv8_linenum, /* .linenum */
+ cv8_deflabel, /* .debug_deflabel */
+ null_debug_directive, /* .debug_directive */
+ cv8_typevalue, /* .debug_typevalue */
+ cv8_output, /* .debug_output */
+ cv8_cleanup, /* .cleanup */
};
/*******************************************************************************