mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
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:
parent
4be9b5790d
commit
2987e5d90e
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue