[BusyBox-cvs] busybox/archival dpkg.c,1.68,1.69
Glenn McGrath
bug1 at busybox.net
Mon Dec 2 00:01:38 UTC 2002
- Previous message: [BusyBox-cvs] busybox/networking/libiproute ip_parse_common_args.c,NONE,1.1 Makefile.in,1.2,1.3 ip_common.h,1.1,1.2 ipaddress.c,1.2,1.3
- Next message: [BusyBox-cvs] busybox/include libbb.h,1.86,1.87
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/archival
In directory winder:/tmp/cvs-serv6581/archival
Modified Files:
dpkg.c
Log Message:
Move compare_string_array to libbb
Index: dpkg.c
===================================================================
RCS file: /var/cvs/busybox/archival/dpkg.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- dpkg.c 28 Nov 2002 11:27:22 -0000 1.68
+++ dpkg.c 2 Dec 2002 00:01:34 -0000 1.69
@@ -498,19 +498,6 @@
}
}
-/* returns the array number of the string */
-static unsigned short compare_string_array(const char *string_array[], const char *key)
-{
- unsigned short i;
-
- for (i = 0; string_array[i] != 0; i++) {
- if (strcmp(string_array[i], key) == 0) {
- break;
- }
- }
- return(i);
-}
-
unsigned int fill_package_struct(char *control_buffer)
{
common_node_t *new_node = (common_node_t *) xcalloc(1, sizeof(common_node_t));
- Previous message: [BusyBox-cvs] busybox/networking/libiproute ip_parse_common_args.c,NONE,1.1 Makefile.in,1.2,1.3 ip_common.h,1.1,1.2 ipaddress.c,1.2,1.3
- Next message: [BusyBox-cvs] busybox/include libbb.h,1.86,1.87
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list