Print this page
2837 - remove print/lp* from gate and use CUPS from userland

*** 201,211 **** return (result); } static papi_attribute_t * ! papiAttributeAlloc(char *name, papi_attribute_value_type_t type) { papi_attribute_t *result = NULL; if ((result = calloc(1, sizeof (*result))) != NULL) { result->name = strdup(name); --- 201,211 ---- return (result); } static papi_attribute_t * ! papiAttributeAlloc(const char *name, papi_attribute_value_type_t type) { papi_attribute_t *result = NULL; if ((result = calloc(1, sizeof (*result))) != NULL) { result->name = strdup(name);
*** 236,246 **** return (PAPI_OK); } papi_status_t papiAttributeListAddValue(papi_attribute_t ***list, int flgs, ! char *name, papi_attribute_value_type_t type, papi_attribute_value_t *value) { papi_status_t result; int flags = flgs; papi_attribute_t *attribute = NULL; --- 236,246 ---- return (PAPI_OK); } papi_status_t papiAttributeListAddValue(papi_attribute_t ***list, int flgs, ! const char *name, papi_attribute_value_type_t type, papi_attribute_value_t *value) { papi_status_t result; int flags = flgs; papi_attribute_t *attribute = NULL;
*** 316,326 **** return (papiAttributeListAddValue(list, flags, name, PAPI_INTEGER, &v)); } papi_status_t papiAttributeListAddBoolean(papi_attribute_t ***list, int flags, ! char *name, char boolean) { papi_attribute_value_t v; v.boolean = boolean; return (papiAttributeListAddValue(list, flags, name, PAPI_BOOLEAN, &v)); --- 316,326 ---- return (papiAttributeListAddValue(list, flags, name, PAPI_INTEGER, &v)); } papi_status_t papiAttributeListAddBoolean(papi_attribute_t ***list, int flags, ! const char *name, char boolean) { papi_attribute_value_t v; v.boolean = boolean; return (papiAttributeListAddValue(list, flags, name, PAPI_BOOLEAN, &v));
*** 400,410 **** return (PAPI_OK); } papi_attribute_t * ! papiAttributeListFind(papi_attribute_t **list, char *name) { int i; if ((list == NULL) || (name == NULL)) return (NULL); --- 400,410 ---- return (PAPI_OK); } papi_attribute_t * ! papiAttributeListFind(papi_attribute_t **list, const char *name) { int i; if ((list == NULL) || (name == NULL)) return (NULL);