removed possible C89 compilation issue
added docs for psl_error_t