projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't print the function name when just outputting a \n.
[oweals/opkg-lede.git]
/
libopkg
/
opkg_utils.h
diff --git
a/libopkg/opkg_utils.h
b/libopkg/opkg_utils.h
index f47e35f660613f184517d1946538a0b1e81a7aee..092d158774cd1b36ae21dff443f2a68dc3c34199 100644
(file)
--- a/
libopkg/opkg_utils.h
+++ b/
libopkg/opkg_utils.h
@@
-1,7
+1,7
@@
-/* opkg_utils.h - the
itsy
package management system
+/* opkg_utils.h - the
opkg
package management system
Steven M. Ayer
Steven M. Ayer
-
+
Copyright (C) 2002 Compaq Computer Corporation
This program is free software; you can redistribute it and/or
Copyright (C) 2002 Compaq Computer Corporation
This program is free software; you can redistribute it and/or
@@
-18,12
+18,8
@@
#ifndef OPKG_UTILS_H
#define OPKG_UTILS_H
#ifndef OPKG_UTILS_H
#define OPKG_UTILS_H
-#include "pkg.h"
-
-int get_available_blocks(char * filesystem);
-char **read_raw_pkgs_from_file(const char *file_name);
-char **read_raw_pkgs_from_stream(FILE *fp);
-char *trim_alloc(char * line);
+unsigned long get_available_kbytes(char * filesystem);
+char *trim_xstrdup(const char *line);
int line_is_blank(const char *line);
#endif
int line_is_blank(const char *line);
#endif