diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2013-09-30 13:11:19 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2013-09-30 13:11:19 +0300 |
commit | bfc3bb6964b849e819454970c4de0d415eaba493 (patch) | |
tree | 043a415cb7d79ccf9805ea781280e596fc8f63c4 | |
parent | d812e93a5912b54fe8612f6c7f6481fad1579716 (diff) | |
download | xine-lib-bfc3bb6964b849e819454970c4de0d415eaba493.tar.gz xine-lib-bfc3bb6964b849e819454970c4de0d415eaba493.tar.bz2 |
goom: fix declarations of functions without parameters
-rw-r--r-- | src/post/goom/goom_fx.h | 2 | ||||
-rw-r--r-- | src/post/goom/goomsl_hash.c | 2 | ||||
-rw-r--r-- | src/post/goom/goomsl_hash.h | 2 | ||||
-rw-r--r-- | src/post/goom/goomsl_yacc.c | 16 |
4 files changed, 11 insertions, 11 deletions
diff --git a/src/post/goom/goom_fx.h b/src/post/goom/goom_fx.h index e672ece3d..5597b35b5 100644 --- a/src/post/goom/goom_fx.h +++ b/src/post/goom/goom_fx.h @@ -4,7 +4,7 @@ #include "goom_visual_fx.h" #include "goom_plugin_info.h" -VisualFX convolve_create (); +VisualFX convolve_create (void); VisualFX flying_star_create (void); void zoom_filter_c(int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffratio, int precalCoef[16][16]); diff --git a/src/post/goom/goomsl_hash.c b/src/post/goom/goomsl_hash.c index af2ec44a6..07eed0f87 100644 --- a/src/post/goom/goomsl_hash.c +++ b/src/post/goom/goomsl_hash.c @@ -58,7 +58,7 @@ static HashValue *entry_get(GoomHashEntry *entry, const char *key) { return &(entry->value); } -GoomHash *goom_hash_new() { +GoomHash *goom_hash_new(void) { GoomHash *_this = (GoomHash*)malloc(sizeof(GoomHash)); _this->root = NULL; _this->number_of_puts = 0; diff --git a/src/post/goom/goomsl_hash.h b/src/post/goom/goomsl_hash.h index 26f451673..7c0ac7bb7 100644 --- a/src/post/goom/goomsl_hash.h +++ b/src/post/goom/goomsl_hash.h @@ -22,7 +22,7 @@ struct GOOM_HASH { int number_of_puts; }; -GoomHash *goom_hash_new(); +GoomHash *goom_hash_new(void); void goom_hash_free(GoomHash *gh); void goom_hash_put(GoomHash *gh, const char *key, HashValue value); diff --git a/src/post/goom/goomsl_yacc.c b/src/post/goom/goomsl_yacc.c index a83c9f218..daca1f4b3 100644 --- a/src/post/goom/goomsl_yacc.c +++ b/src/post/goom/goomsl_yacc.c @@ -133,10 +133,10 @@ static NodeType *new_nop(const char *str); static NodeType *new_op(const char *str, int type, int nbOp); - static int allocateLabel(); - static int allocateTemp(); + static int allocateLabel(void); + static int allocateTemp(void); static void releaseTemp(int n); - static void releaseAllTemps(); + static void releaseAllTemps(void); static int is_tmp_expr(NodeType *node) { if (node->str) { @@ -1097,16 +1097,16 @@ } /* }}} */ #if 1 - int allocateTemp() { + int allocateTemp(void) { return allocateLabel(); } - void releaseAllTemps() {} + void releaseAllTemps(void) {} void releaseTemp(int n) {} #else static int nbTemp = 0; static int *tempArray = 0; static int tempArraySize = 0; - int allocateTemp() { /* TODO: allocateITemp, allocateFTemp */ + int allocateTemp(void) { /* TODO: allocateITemp, allocateFTemp */ int i = 0; /* {{{ */ if (tempArray == 0) { tempArraySize = 256; @@ -1128,7 +1128,7 @@ i++; } } /* }}} */ - void releaseAllTemps() { + void releaseAllTemps(void) { nbTemp = 0; /* {{{ */ } /* }}} */ void releaseTemp(int n) { @@ -1143,7 +1143,7 @@ #endif static int lastLabel = 0; - int allocateLabel() { + int allocateLabel(void) { return ++lastLabel; /* {{{ */ } /* }}} */ |