X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FyaccParser%2Fhpragma.c;fp=ghc%2Fcompiler%2FyaccParser%2Fhpragma.c;h=65613c815aa51980fda7ff29de5af3090d0cbddb;hb=ed7464364646a28aaf27d1dbc2ceaf7a9d9ce62f;hp=11a1115d413689f722c58fb51046413668d80938;hpb=10521d8418fd3a1cf32882718b5bd28992db36fd;p=ghc-hetmet.git diff --git a/ghc/compiler/yaccParser/hpragma.c b/ghc/compiler/yaccParser/hpragma.c index 11a1115..65613c8 100644 --- a/ghc/compiler/yaccParser/hpragma.c +++ b/ghc/compiler/yaccParser/hpragma.c @@ -12,7 +12,7 @@ Thpragma thpragma(t) /************** no_pragma ******************/ -hpragma mkno_pragma() +hpragma mkno_pragma(void) { register struct Sno_pragma *pp = (struct Sno_pragma *) malloc(sizeof(struct Sno_pragma)); @@ -56,7 +56,7 @@ list *Rgprag_data_specs(t) /************** itype_pragma ******************/ -hpragma mkitype_pragma() +hpragma mkitype_pragma(void) { register struct Sitype_pragma *pp = (struct Sitype_pragma *) malloc(sizeof(struct Sitype_pragma)); @@ -374,7 +374,7 @@ stringId *Rgprag_update_val(t) /************** ideforest_pragma ******************/ -hpragma mkideforest_pragma() +hpragma mkideforest_pragma(void) { register struct Sideforest_pragma *pp = (struct Sideforest_pragma *) malloc(sizeof(struct Sideforest_pragma)); @@ -474,7 +474,7 @@ coresyn *Rgprag_unfold_core(t) /************** iunfold_always ******************/ -hpragma mkiunfold_always() +hpragma mkiunfold_always(void) { register struct Siunfold_always *pp = (struct Siunfold_always *) malloc(sizeof(struct Siunfold_always));