[BusyBox-cvs] busybox/networking ifupdown.c,1.13,1.14
Glenn McGrath
bug1 at busybox.net
Sat Dec 7 07:45:45 UTC 2002
Update of /var/cvs/busybox/networking
In directory winder:/tmp/cvs-serv10898/networking
Modified Files:
ifupdown.c
Log Message:
Differentiate struct and type names
Index: ifupdown.c
===================================================================
RCS file: /var/cvs/busybox/networking/ifupdown.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- ifupdown.c 7 Dec 2002 00:48:54 -0000 1.13
+++ ifupdown.c 7 Dec 2002 07:45:42 -0000 1.14
@@ -44,25 +44,25 @@
#define IFUPDOWN_VERSION "0.6.4"
-typedef struct interface_defn interface_defn;
+typedef struct interface_defn_s interface_defn_t;
typedef int (execfn)(char *command);
-typedef int (command_set)(interface_defn *ifd, execfn *e);
+typedef int (command_set)(interface_defn_t *ifd, execfn *e);
-typedef struct method {
[...511 lines suppressed...]
char **target_iface = NULL;
char **state = NULL; /* list of iface=liface */
@@ -1226,7 +1226,7 @@
for (i = 0; i < n_target_ifaces; i++) {
- interface_defn *currif;
+ interface_defn_t *currif;
char iface[80];
char liface[80];
char *pch;
@@ -1264,7 +1264,7 @@
}
#ifdef CONFIG_FEATURE_IFUPDOWN_MAPPING
if ((cmds == iface_up) && run_mappings) {
- mapping_defn *currmap;
+ mapping_defn_t *currmap;
for (currmap = defn->mappings; currmap; currmap = currmap->next) {
More information about the busybox-cvs
mailing list