[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH 20/24] Const fixing



On 01/30/2011 01:57 PM, Zdenek Kabelac wrote:
> Fixing some of the remaining const warnings - major change:
> 
> int vg_extend(struct volume_group *vg, int pv_count, const char *const *pv_names,
> 
> Change is needed - as lvm2api seems to expect const behaviour here.
> So vg_extend() is doing local strdup for unescaping.
> 
> skip_dev_dir return const char* from const char* vg_name.

Only C language allows us to have properly defined const variables :-)

<add mornfall's signature here>

If it helps something, ACK.

Milan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]