From 751f4eeb228344937c1311a06c38ed1bc3aeffe8 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sat, 29 Oct 2005 21:04:27 +1000 Subject: [SYSTEM] Added dummy strtod implementation klibc doesn't have strtod or atof. So add an implementation that always fails by setting the end pointer to the input string. --- src/system.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/system.h b/src/system.h index 833e162..2737e9f 100644 --- a/src/system.h +++ b/src/system.h @@ -61,6 +61,14 @@ char *strchrnul(const char *, int); char *strsignal(int); #endif +#ifndef HAVE_STRTOD +static inline double strtod(const char *nptr, char **endptr) +{ + *endptr = (char *)nptr; + return 0; +} +#endif + #ifndef HAVE_STRTOIMAX #define strtoimax strtoll #endif -- cgit 1.4.1 lue='switch'/> dontfiles
summary refs log tree commit diff
path: root/bin/gfx-fb.c (unfollow)
Commit message (Expand)Author
2019-02-09Add css and inline HTML options to hiJune McEnroe
2019-02-09Combine all Keyword patternsJune McEnroe
2019-02-09Run hi -c after compiling hiJune McEnroe
2019-02-09Fix IRC output monospace option to emit once per lineJune McEnroe
2019-02-09Add output format options to hiJune McEnroe
2019-02-09Avoid using SGRReset and IRCResetJune McEnroe
2019-02-08Use X macros for hi classesJune McEnroe
2019-02-08Don't open folds when using {}June McEnroe
2019-02-08Add sh syntax to hiJune McEnroe
2019-02-08Use [] to quote special characters in regexJune McEnroe
2019-02-08Improve ANSI output and base IRC on itJune McEnroe
2019-02-08Add hi -nJune McEnroe
2019-02-08Elaborate hi man pageJune McEnroe
2019-02-08Use set for parent in hiJune McEnroe
2019-02-08Switch back to semantic keyword grouping in hiJune McEnroe
2019-02-08Match only the basename in hiJune McEnroe
2019-02-07Add mdoc syntax to hiJune McEnroe
2019-02-07Support multi-line C macros in hiJune McEnroe
2019-02-07Detect .mk files as makeJune McEnroe
2019-02-07Add make syntax to hiJune McEnroe
2019-02-07Add IRC output to hiJune McEnroe
2019-02-07Improve C syntax accuracy and add Format classJune McEnroe
2019-02-07Factor out hi checkJune McEnroe
2019-02-07Add Escape class to hiJune McEnroe
2019-02-07Add Todo class and parent syntax constraintJune McEnroe