Add prototype for curd() to avoid compiler warning.