openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/libsmartcols/src/column.c
struct libscols_column* scols_new_column(void)
{
    struct libscols_column* cl;

    cl = calloc(1, sizeof(*cl));
    if (!cl)
        return NULL;
    DBG(COL, ul_debugobj(cl, "alloc"));
    cl->refcount = 1;
    INIT_LIST_HEAD(&cl->cl_columns);
    return cl;
}
/**
 * scols_new_column:
 *
 * Allocates space for a new column.
 *
 * Returns: a pointer to a new struct libscols_column instance, NULL in case of
 * an ENOMEM error.
 */
Allocates space for a new column.

a pointer to a new struct libscols_column instance, NULL in case of
an ENOMEM error.
Allocates space for a new column . a pointer to a new struct libscols_column instance NULL in case of an ENOMEM error .
struct libscols_column* scols_new_column(void)
{
    struct libscols_column* cl;
    cl = calloc(1, sizeof(*cl));
    if (!cl)
        return NULL;
    DBG(COL, ul_debugobj(cl, "alloc"));
    cl->refcount = 1;
    INIT_LIST_HEAD(&cl->cl_columns);
    return cl;
}
struct libscols_column * scols_new_column ( void ) { struct libscols_column * cl ; cl = calloc ( 1 , sizeof ( * cl ) ) ; if ( ! cl ) return NULL ; DBG ( COL , ul_debugobj ( cl , " " ) ) ; cl -> refcount = 1 ; INIT_LIST_HEAD ( & cl -> cl_columns ) ; return cl ; }
scols_new_column:
 Allocates space for a new column.
scols_new_column : Allocates space for a new column .