Skip to content

Remove accidental comment words in stdio.h #2480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

lurch
Copy link
Contributor

@lurch lurch commented May 21, 2025

Looks like these might have been a copy&paste typo?

* in the standard C library even when \ref PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS == 0
*
* \ingroup pico_stdio
*/
int stdio_getchar(void);

/*! \brief stdio_getchar Alias for \ref putchar that definitely does not go thru the implementation
/*! \brief Alias for \ref putchar that definitely does not go thru the implementation
Copy link

@robertrico robertrico May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this should be stdio_putchar. The following removals of stdio_getchar perhaps should change to the prototype fn name.

@@ -186,35 +186,35 @@ int stdio_get_until(char *buf, int len, absolute_time_t until);
*/
int stdio_put_string(const char *s, int len, bool newline, bool cr_translation);

/*! \brief stdio_getchar Alias for \ref getchar that definitely does not go thru the implementation
Copy link

@robertrico robertrico May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this one is right, the others may need to be renamed not removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I wasn't sure - I'll wait to see what @kilograham says...
(but if your supposition is correct, we'll still need to change "Alias" to "alias")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants