BR 3392409: idata_bytes() and resv_bytes() don't match their prototypes

https://bugzilla.nasm.us/show_bug.cgi?id=3392409

idata_bytes() and resv_bytes() don't match their prototypes in common.c
which leads to a build error with watcom.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
sezeroz 2017-05-25 05:55:40 +00:00 committed by H. Peter Anvin
parent 4be9b5790d
commit 2987e5d90e

View File

@ -66,7 +66,7 @@ const char *prefix_name(int token)
/*
* initialized data bytes length from opcode
*/
int idata_bytes(int opcode)
int idata_bytes(enum opcode opcode)
{
switch (opcode) {
case I_DB:
@ -95,7 +95,7 @@ int idata_bytes(int opcode)
/*
* Uninitialized data bytes length from opcode
*/
int resv_bytes(int opcode)
int resv_bytes(enum opcode opcode)
{
switch (opcode) {
case I_RESB: