summaryrefslogtreecommitdiff
path: root/atari/misc.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-07-02 16:39:08 +0100
committerVincent Sanders <vince@kyllikki.org>2014-07-02 16:39:08 +0100
commit8848f754e07264a8b358c34048d84139660291d1 (patch)
tree4a7331647120f9442a288cbf8a7e66c2256a27ee /atari/misc.c
parent29e29cccd772c7be1b5cc878313287307ed7490f (diff)
downloadnetsurf-8848f754e07264a8b358c34048d84139660291d1.tar.gz
netsurf-8848f754e07264a8b358c34048d84139660291d1.tar.bz2
documentation fixes and cleanups
Diffstat (limited to 'atari/misc.c')
-rwxr-xr-xatari/misc.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/atari/misc.c b/atari/misc.c
index e689b8249..bd3158406 100755
--- a/atari/misc.c
+++ b/atari/misc.c
@@ -203,12 +203,15 @@ static nserror load_icon_callback(hlcache_handle *handle,
/**
* utility function. Copied from NetSurf tree API.
*
- * \param name the name of the loaded icon, if it's not a full path the icon is
- * looked for in the directory specified by icons_dir
+ * \param name the name of the loaded icon, if it's not a full path
+ * the icon is looked for in the directory specified by
+ * icons_dir.
+ * \param cb callback function to deal with hlcache callback.
+ * \param pw Context pointer to be passed to callback.
* \return the icon in form of a content or NULL on failure
*/
-hlcache_handle *load_icon(const char *name, hlcache_handle_callback cb,
- void * pw )
+hlcache_handle *
+load_icon(const char *name, hlcache_handle_callback cb, void *pw)
{
hlcache_handle *c;
nserror err;