summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg.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.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.h')
-rw-r--r--libopkg/opkg.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libopkg/opkg.h b/libopkg/opkg.h
index 4c8f902..765b063 100644
--- a/libopkg/opkg.h
+++ b/libopkg/opkg.h
@@ -32,16 +32,16 @@ typedef void (*opkg_package_callback_t) (pkg_t *pkg, void *user_data);
enum _opkg_action_t
{
- OPKG_INSTALL,
- OPKG_REMOVE,
- OPKG_DOWNLOAD
+ OPKG_INSTALL,
+ OPKG_REMOVE,
+ OPKG_DOWNLOAD
};
struct _opkg_progress_data_t
{
- int percentage;
- int action;
- pkg_t *pkg;
+ int percentage;
+ int action;
+ pkg_t *pkg;
};
int opkg_new (void);