| 141 | } |
| 142 | |
| 143 | static int |
| 144 | is_integer(const char *s) |
| 145 | { |
| 146 | if (*s == '-' || *s == '+') |
| 147 | s++; |
| 148 | if (*s < '0' || '9' < *s) |
| 149 | return 0; |
| 150 | s++; |
| 151 | while ('0' <= *s && *s <= '9') |
| 152 | s++; |
| 153 | return (*s == '\0'); |
| 154 | } |
| 155 | |
| 156 | static int |
| 157 | freebsd_conf_handler(struct ff_config *cfg, const char *section, |
no outgoing calls
no test coverage detected