Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/applets/applet_tables.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/applets/applet_tables.c
r2725 r3232 8 8 * Licensed under GPLv2, see file LICENSE in this source tree. 9 9 */ 10 10 #include <sys/types.h> 11 #include <sys/stat.h> 12 #include <fcntl.h> 11 13 #include <stdlib.h> 12 14 #include <string.h> 13 15 #include <stdio.h> 16 #include <unistd.h> 17 18 #undef ARRAY_SIZE 19 #define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0]))) 14 20 15 21 #include "../include/autoconf.h" 16 #include "../include/ busybox.h"22 #include "../include/applet_metadata.h" 17 23 18 24 struct bb_applet { … … 76 82 if (NUM_APPLETS == 1) { 77 83 printf("#define SINGLE_APPLET_STR \"%s\"\n", applets[0].name); 78 printf("#define SINGLE_APPLET_MAIN %s_main\n", applets[0]. name);84 printf("#define SINGLE_APPLET_MAIN %s_main\n", applets[0].main); 79 85 } 80 86 printf("\n");
Note:
See TracChangeset
for help on using the changeset viewer.