diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/alu.h | 2 | ||||
| -rw-r--r-- | include/assembler.h | 2 | ||||
| -rw-r--r-- | include/exceptions.h | 4 | ||||
| -rw-r--r-- | include/fpu.h | 2 | ||||
| -rw-r--r-- | include/hash.h | 2 | ||||
| -rw-r--r-- | include/interne.h | 2 | ||||
| -rw-r--r-- | include/memoire.h | 2 | ||||
| -rw-r--r-- | include/meta.h | 24 | ||||
| -rw-r--r-- | include/numbers.h | 2 | ||||
| -rw-r--r-- | include/parser.h | 26 | ||||
| -rw-r--r-- | include/registre.h | 2 | 
11 files changed, 35 insertions, 35 deletions
| diff --git a/include/alu.h b/include/alu.h index 80a5d73..4427060 100644 --- a/include/alu.h +++ b/include/alu.h @@ -15,4 +15,4 @@ Uint32 OR(Uint32 a, Uint32 b);  Uint32 SHL(Uint32 a);  Uint32 SHR(Uint32 a); -#endif
\ No newline at end of file +#endif diff --git a/include/assembler.h b/include/assembler.h index f02f53e..c8c4da9 100644 --- a/include/assembler.h +++ b/include/assembler.h @@ -5,7 +5,7 @@ int assembler_init(void);  void assembler_flush(void);  void asm_eol(void);  void asm_eof(FILE * f); -void assemble_file(char * i, char * o); +void assemble_file(char *i, char *o);  void push_pile(char *);  void act_pile(int); diff --git a/include/exceptions.h b/include/exceptions.h index 5ce9f60..672d8ca 100644 --- a/include/exceptions.h +++ b/include/exceptions.h @@ -3,8 +3,8 @@  #include <stdio.h> -char * Estrdup(char *); -void * Emalloc(size_t); +char *Estrdup(char *); +void *Emalloc(size_t);  void exception(int, char *);  void pushcontext(char *); diff --git a/include/fpu.h b/include/fpu.h index ea98e74..83e086a 100644 --- a/include/fpu.h +++ b/include/fpu.h @@ -3,4 +3,4 @@  #include "types.h"  void fpu(Uint32 opcode); -#endif
\ No newline at end of file +#endif diff --git a/include/hash.h b/include/hash.h index 3420a51..a7948a1 100644 --- a/include/hash.h +++ b/include/hash.h @@ -4,7 +4,7 @@  #define TAILLECHAINEHACHAGE (26*2+1)  #ifdef HAVE_CONFIG_H -typedef void * _TypeVariable; +typedef void *_TypeVariable;  #else  typedef int _TypeVariable;  #endif diff --git a/include/interne.h b/include/interne.h index 2f91050..801365b 100644 --- a/include/interne.h +++ b/include/interne.h @@ -14,4 +14,4 @@ Uint32 Extension(Uint32 ins);  Uint32 Champ1(Uint32 ins);  Uint32 Champ2(Uint32 ins);  Uint32 Champ3(Uint32 ins); -#endif
\ No newline at end of file +#endif diff --git a/include/memoire.h b/include/memoire.h index 0598039..290068d 100644 --- a/include/memoire.h +++ b/include/memoire.h @@ -3,4 +3,4 @@  #include "types.h"  Uint32 LD(Uint32 offset);  void ST(Uint32 offset, Uint32 valeur); -#endif
\ No newline at end of file +#endif diff --git a/include/meta.h b/include/meta.h index 471710d..1056246 100644 --- a/include/meta.h +++ b/include/meta.h @@ -19,30 +19,30 @@ typedef struct field_t {  } field_t;  typedef struct metaexpr_t { -	char * name; +	char *name;  	int type; -	char * string; +	char *string;  	/* left = right = NULL => feuille  	   left = NULL         => opérateur unaire  	   sinon               => opérateur binaire -	*/ -	struct metaexpr_t * left, * right; +	 */ +	struct metaexpr_t *left, *right;  } metaexpr_t;  typedef struct pattern_t { -	char * name; -	metaexpr_t ** expr; +	char *name; +	metaexpr_t **expr;  	int nbr;  	struct pattern_t *next;  } pattern_t;  typedef struct instruct_t { -	char ** names; -	char ** strings; -	char ** implicits; -	char ** istrings; -	int * etypes, * itypes, * ivalues, nbexplicit, nbimplicit; -	struct instruct_t * next; +	char **names; +	char **strings; +	char **implicits; +	char **istrings; +	int *etypes, *itypes, *ivalues, nbexplicit, nbimplicit; +	struct instruct_t *next;  } instruct_t;  extern phon_t *phons; diff --git a/include/numbers.h b/include/numbers.h index ad3fc2b..9f0b1ae 100644 --- a/include/numbers.h +++ b/include/numbers.h @@ -1,6 +1,6 @@  #ifndef __NUMBERS_H__  #define __NUMBERS_H__ -int char_to_number(char * st, int * valid); +int char_to_number(char *st, int *valid);  #endif diff --git a/include/parser.h b/include/parser.h index f6d56ba..b38e047 100644 --- a/include/parser.h +++ b/include/parser.h @@ -5,20 +5,20 @@  #define PILECALL_MAX 50  enum { -  OP_NEST, -  OP_PLUS, -  OP_MOINS, -  OP_PLUS_UNARY, -  OP_MOINS_UNARY, -  OP_DIV, -  OP_MUL, -  OP_MOD, -  OP_LPAREN, -  OP_FUNC_CALL, -  OP_DECAL, -  OP_DIRECT +	OP_NEST, +	OP_PLUS, +	OP_MOINS, +	OP_PLUS_UNARY, +	OP_MOINS_UNARY, +	OP_DIV, +	OP_MUL, +	OP_MOD, +	OP_LPAREN, +	OP_FUNC_CALL, +	OP_DECAL, +	OP_DIRECT  };  void parse_line(char *); -#endif
\ No newline at end of file +#endif diff --git a/include/registre.h b/include/registre.h index 19b817b..6ad9a6b 100644 --- a/include/registre.h +++ b/include/registre.h @@ -34,4 +34,4 @@ void ResetZero(void);  void ResetSign(void);  void ResetParity(void);  void ResetRegistres(void); -#endif
\ No newline at end of file +#endif | 
