db: use "extern" instead of the file name for globals in data_info