This reverts commit ef5678956d2eedf9904ce32f12f6367bc26c59e7.
CCAN imported from http://ccodearchive.net. CCAN version: init-2398-g7082f7d0