| 190 | |
| 191 | #ifndef BREADCRUMBS |
| 192 | void |
| 193 | placebc(void) |
| 194 | { |
| 195 | if (!check_restriction(0)) { |
| 196 | #if (NH_DEVEL_STATUS != NH_STATUS_RELEASED) |
| 197 | char panicbuf[BUFSZ]; |
| 198 | |
| 199 | Sprintf(panicbuf, "placebc denied, restriction in effect"); |
| 200 | paniclog("placebc", panicbuf); |
| 201 | #endif |
| 202 | return; |
| 203 | } |
| 204 | if (uchain && uchain->where != OBJ_FREE) { |
| 205 | impossible("bc already placed?"); |
| 206 | return; |
| 207 | } |
| 208 | placebc_core(); |
| 209 | } |
| 210 | |
| 211 | void |
| 212 | unplacebc(void) |
no test coverage detected