Revision 5116571d cmdutils.c

View differences:

cmdutils.c
324 324
    }
325 325
}
326 326

  
327
#define PRINT_LIB_VERSION(outstream,libname,LIBNAME,indent) \
328
    if (CONFIG_##LIBNAME) { \
329
    version= libname##_version(); \
330
    fprintf(outstream, "%slib%-10s %2d.%2d.%2d / %2d.%2d.%2d\n", indent? "  " : "", #libname, \
331
            LIB##LIBNAME##_VERSION_MAJOR, LIB##LIBNAME##_VERSION_MINOR, LIB##LIBNAME##_VERSION_MICRO, \
332
            version >> 16, version >> 8 & 0xff, version & 0xff); \
327
#define PRINT_LIB_VERSION(outstream,libname,LIBNAME,indent)             \
328
    if (CONFIG_##LIBNAME) {                                             \
329
        version= libname##_version();                                   \
330
        fprintf(outstream, "%slib%-10s %2d.%2d.%2d / %2d.%2d.%2d\n",    \
331
                indent? "  " : "", #libname,                            \
332
                LIB##LIBNAME##_VERSION_MAJOR,                           \
333
                LIB##LIBNAME##_VERSION_MINOR,                           \
334
                LIB##LIBNAME##_VERSION_MICRO,                           \
335
                version >> 16, version >> 8 & 0xff, version & 0xff);    \
333 336
    }
334 337

  
335 338
static void print_all_lib_versions(FILE* outstream, int indent)

Also available in: Unified diff