Fix linkage to datastate function.

Functions have to come with `()` for linking to work.