Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/applets/applet_tables.c

    r2725 r3232  
    88 * Licensed under GPLv2, see file LICENSE in this source tree.
    99 */
    10 
     10#include <sys/types.h>
     11#include <sys/stat.h>
     12#include <fcntl.h>
    1113#include <stdlib.h>
    1214#include <string.h>
    1315#include <stdio.h>
     16#include <unistd.h>
     17
     18#undef ARRAY_SIZE
     19#define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0])))
    1420
    1521#include "../include/autoconf.h"
    16 #include "../include/busybox.h"
     22#include "../include/applet_metadata.h"
    1723
    1824struct bb_applet {
     
    7682    if (NUM_APPLETS == 1) {
    7783        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);
    7985    }
    8086    printf("\n");
Note: See TracChangeset for help on using the changeset viewer.