Re: missing const in prototypes
Daniel Stenberg via curl-library <[email protected]> Sun, 23 Nov 2025 19:06:22 +0100 (CET)
| Newsgroups | gmane.comp.web.curl.library |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 23 Nov 2025, Patrick Monnerat via curl-library wrote: > I'm aware changing our prototype definitions may cause existing programs to > fail compilation, but I wonder if it is intentional we do not have const in > the following declarations (upper case CONST added to show where): It was just omitted when we made them and then we don't change them. They probably should have been made const. > In case we do not want to change them, why not saying in docs they should be > treated as such ? If you think the documentation benefits from such a mention, please go ahead and make such proposed change. -- / daniel.haxx.se || https://rock-solid.curl.dev -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html