*/
#include <config.h>
-#include "category.h"
-
#include <assert.h>
#include <stdlib.h>
#include <string.h>
/*
Return the number of categories of a categorical variable.
*/
-size_t
+size_t
cat_get_n_categories (const struct variable *v)
{
return var_get_obs_vals (v)->n_categories;