Skip to content

Commit

Permalink
Remove C99'ism.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertl committed Jun 12, 2003
1 parent 6de9ae9 commit 404e24a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mkshort.c
Expand Up @@ -88,10 +88,9 @@ static
int
add_to_hashlist(mkshort_handle *h, char *name)
{
int hash;

hash = hash_string(name);
int hash = hash_string(name);
uniq_shortname *s = xcalloc(1, sizeof (uniq_shortname));

s->orig_shortname = xstrdup(name);
ENQUEUE_TAIL(&h->namelist[hash], &s->list);
}
Expand Down

0 comments on commit 404e24a

Please sign in to comment.