Add function prototypes.

This commit is contained in:
carl 2019-03-25 00:10:20 +08:00
parent dac3d0b10c
commit 143da61d13
2 changed files with 6 additions and 2 deletions

View file

@ -7,3 +7,6 @@
/*
* Motorola 6800 C declarations
*/
void branch(register int opc, expr_t exp);

View file

@ -8,8 +8,9 @@
* Motorola 6800 special routines
*/
branch(opc,exp) register opc; expr_t exp; {
register sm, dist;
void branch(register int opc,expr_t exp)
{
register int sm, dist;
int saving;
dist = exp.val - (DOTVAL + 2);