diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-01 20:53:44 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-01 20:53:44 -0300 |
commit | 13082c04fe0d2f167b6888108b3672e94a2fb3ea (patch) | |
tree | cbbd6a199c9b73ee7210f3e38ce83d0f30fdfbe0 /src | |
parent | 5af0d4d13a3547e658be0e2b9fcdf61621826506 (diff) |
Minor function signature cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/html.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/html.cc b/src/html.cc index e4814375..d71fce12 100644 --- a/src/html.cc +++ b/src/html.cc @@ -288,8 +288,8 @@ static int Html_set_new_link(DilloHtml *html, DilloUrl **url) /* * Add a new image. */ -static int Html_add_new_linkimage(DilloHtml *html, - DilloUrl **url, DilloImage *image) +static void Html_add_new_linkimage(DilloHtml *html, + DilloUrl **url, DilloImage *image) { DilloLinkImage *li = dNew(DilloLinkImage, 1); li->url = *url; @@ -298,7 +298,6 @@ static int Html_add_new_linkimage(DilloHtml *html, int ni = html->images->size(); html->images->increase(); html->images->set(ni, li); - return ni; } /* |