summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_download.h
diff options
context:
space:
mode:
authorCarsten Schoenert <c.schoenert@gmail.com>2013-11-29 14:19:15 (EST)
committer Paul Barker <paul@paulbarker.me.uk>2013-12-17 16:00:36 (EST)
commit6b8be706c08f547d17949f2f72783375bbb8b14c (patch)
tree7e177d6a719577c6823640db457f833304479cb3 /libopkg/opkg_download.h
parentfed9b245150a7faa630f7615302c472b7c68ff3e (diff)
libopkg: cleanup inside the public header files
No functional changes! Just a cleanup like whitespaces, blank lines, tabs and reformating lines longer 76 characters. Also adding the missed comments at the closing bracket from the #ifndef HEADER_FOO_H ... #endif loop. This helps to identify the associated preprocessor elements like theay already exits in some files. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Diffstat (limited to 'libopkg/opkg_download.h')
-rw-r--r--libopkg/opkg_download.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libopkg/opkg_download.h b/libopkg/opkg_download.h
index ff5f7da..7f28f3a 100644
--- a/libopkg/opkg_download.h
+++ b/libopkg/opkg_download.h
@@ -27,7 +27,6 @@ extern "C" {
typedef void (*opkg_download_progress_callback)(int percent, char *url);
typedef int (*curl_progress_func)(void *data, double t, double d, double ultotal, double ulnow);
-
int opkg_download(const char *src, const char *dest_file_name, curl_progress_func cb, void *data, const short hide_error);
int opkg_download_pkg(pkg_t *pkg, const char *dir);
/*
@@ -48,4 +47,4 @@ void opkg_curl_cleanup(void);
#ifdef __cplusplus
}
#endif
-#endif
+#endif /* OPKG_DOWNLOAD_H */