projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved output
[ppastats.git]
/
src
/
lp.c
diff --git
a/src/lp.c
b/src/lp.c
index
f9eca43
..
adb1e2b
100644
(file)
--- a/
src/lp.c
+++ b/
src/lp.c
@@
-19,6
+19,7
@@
#include <stdlib.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include "lp.h"
#include <string.h>
#include "lp.h"
@@
-53,7
+54,8
@@
void distro_series_free(struct distro_series *d)
}
void
}
void
-binary_package_publishing_history_free(struct binary_package_publishing_history *b)
+binary_package_publishing_history_free \
+(struct binary_package_publishing_history *b)
{
if (b) {
free(b->binary_package_name);
{
if (b) {
free(b->binary_package_name);
@@
-83,7
+85,8
@@
binary_package_publishing_history_new(const char *binary_package_name,
}
void
}
void
-binary_package_publishing_history_list_free(struct binary_package_publishing_history **list)
+binary_package_publishing_history_list_free\
+(struct binary_package_publishing_history **list)
{
struct binary_package_publishing_history **l_cur = list;
{
struct binary_package_publishing_history **l_cur = list;
@@
-167,16
+170,3
@@
void daily_download_total_list_free(struct daily_download_total **list)
}
}
}
}
-int list_length(void **list)
-{
- int n;
-
- n = 0;
- while (*list) {
- list++;
- n++;
- }
-
- return n;
-}
-