Add function prototypes.
This commit is contained in:
		
							parent
							
								
									143da61d13
								
							
						
					
					
						commit
						2dd0d0f81b
					
				
					 3 changed files with 9 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -11,3 +11,5 @@
 | 
			
		|||
extern int opt_cmos;
 | 
			
		||||
 | 
			
		||||
#define	fitj(z)		((unsigned)z + 0x80 <= 0xFF)
 | 
			
		||||
 | 
			
		||||
void branch(register int opc,expr_t exp,expr_t cell);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,7 +31,10 @@ operation
 | 
			
		|||
			{	emit1($1);}
 | 
			
		||||
	|
 | 
			
		||||
		BRANCH expr
 | 
			
		||||
			{	branch($1,$2);}
 | 
			
		||||
			{
 | 
			
		||||
                /* Empty expression */
 | 
			
		||||
                struct expr_t expr = {0,0};
 | 
			
		||||
                branch($1,$2,expr);}
 | 
			
		||||
	|
 | 
			
		||||
		BBRANCH bitexp ',' expr8 ',' expr
 | 
			
		||||
			{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,9 @@
 | 
			
		|||
 */
 | 
			
		||||
 | 
			
		||||
/* VARARGS2 */
 | 
			
		||||
branch(opc,exp,cell) register opc; expr_t cell; expr_t exp; {
 | 
			
		||||
	register sm, dist;
 | 
			
		||||
void branch(register int opc,expr_t exp,expr_t cell)
 | 
			
		||||
{
 | 
			
		||||
	register int sm, dist;
 | 
			
		||||
	int saving;
 | 
			
		||||
 | 
			
		||||
	dist = exp.val - (DOTVAL + 2);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue