bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] [PATCH 6/8] Add extern declaration for program_arsgstring


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] [PATCH 6/8] Add extern declaration for program_arsgstring
Date: Mon, 24 Nov 2014 14:39:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Darshit Shah <address@hidden> writes:

> In test.c, this patch changes the type of program_argstring to char *
> from a const char *. This is because, we use a char * string in the rest
> of the program and declare an extern accordingly. Removing the const
> type helps in keeping the code cleaner at no extra cost.
> ---

shouldn't we rather do the other way around and add "const" where
missed?

Giuseppe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]