diff options
| author | Thomas Schmucker <ts@its1.de> | 2020-09-03 09:44:10 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2020-09-03 09:44:10 +0200 |
| commit | a015e365c030739c29955e06da100630f63a567f (patch) | |
| tree | 36db65d04546f5ae2539b040de6ba184e07f5c5f /hashtab.c | |
| parent | 7c62454f092ecedebd9e245dc0c9df276b288ada (diff) | |
| parent | daabff089602e406efe29eaa8a639fca2a717b97 (diff) | |
| download | data-structures-a015e365c030739c29955e06da100630f63a567f.tar.gz data-structures-a015e365c030739c29955e06da100630f63a567f.tar.bz2 data-structures-a015e365c030739c29955e06da100630f63a567f.zip | |
Merge branch 'master' into feature-list-tail-node
Diffstat (limited to 'hashtab.c')
| -rw-r--r-- | hashtab.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -135,9 +135,10 @@ hash_free(struct hash_tab *ht) | |||
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | static int | 137 | static int |
| 138 | getword(FILE *fp, char *buf, int size, int first(int), int rest(int)) | 138 | getword(FILE *fp, char *buf, size_t size, int first(int), int rest(int)) |
| 139 | { | 139 | { |
| 140 | int i = 0, c; | 140 | size_t i = 0; |
| 141 | int c; | ||
| 141 | 142 | ||
| 142 | c = getc(fp); | 143 | c = getc(fp); |
| 143 | for ( ; c != EOF; c = getc(fp) ) | 144 | for ( ; c != EOF; c = getc(fp) ) |
