This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] getopt.h: option.name should be "const char *"


OK, I've got one more.

In getopt.h there's a struct option, which has a field "name" - type "char *". According to some sources I could find (and common sense), this should be "const char *".

http://linux.die.net/man/3/getopt_long
http://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Options.html#Getopt-Long-Options

Regards,
FCh

Attachment: 0001-getopt.h-option.name-should-be-const-char.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]