Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 371043
Collapse All | Expand All

(-)1/include/avr/pgmspace.h (-1 / +1 lines)
Lines 252-258 Link Here
252
# define PSTR(s) ((const PROGMEM char *)(s))
252
# define PSTR(s) ((const PROGMEM char *)(s))
253
#else  /* !DOXYGEN */
253
#else  /* !DOXYGEN */
254
/* The real thing. */
254
/* The real thing. */
255
# define PSTR(s) (__extension__({static char __c[] PROGMEM = (s); &__c[0];}))
255
# define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
256
#endif /* DOXYGEN */
256
#endif /* DOXYGEN */
257
257
258
#define __LPM_classic__(addr)   \
258
#define __LPM_classic__(addr)   \
(-)1/libc/stdlib/dtostre.c (-2 / +2 lines)
Lines 37-45 Link Here
37
char *
37
char *
38
dtostre (double val, char *sbeg, unsigned char prec, unsigned char flags)
38
dtostre (double val, char *sbeg, unsigned char prec, unsigned char flags)
39
{
39
{
40
    __attribute__((progmem)) static char str_nan[2][4] =
40
    __attribute__((progmem)) static const char str_nan[2][4] =
41
	{"nan", "NAN"};
41
	{"nan", "NAN"};
42
    __attribute__((progmem)) static char str_inf[2][sizeof(str_nan[0])] =
42
    __attribute__((progmem)) static const char str_inf[2][sizeof(str_nan[0])] =
43
	{"inf", "INF"};
43
	{"inf", "INF"};
44
    char *d;		/* dst	*/
44
    char *d;		/* dst	*/
45
    char *s;		/* src	*/
45
    char *s;		/* src	*/

Return to bug 371043