~ubuntu-branches/ubuntu/utopic/xfonts-utils/utopic

« back to all changes in this revision

Viewing changes to mkfontscale/list.h

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2011-06-30 14:09:10 UTC
  • Revision ID: james.westby@ubuntu.com-20110630140910-bzoid9i9igkcx0z0
Tags: 1:7.6+1
* mkfontscale 1.0.9
* Update Uploaders list. Thanks, David & Brice!
* Wrap Depends/Replaces.
* Remove long obsolete Replaces.
* Bump Standards-Version to 3.9.2 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef _MKS_LIST_H_
24
24
#define _MKS_LIST_H_ 1
25
25
 
26
 
char *dsprintf(char *f, ...);
 
26
#include <X11/Xfuncproto.h> /* for _X_ATTRIBUTE_PRINTF */
 
27
 
 
28
char *dsprintf(char *f, ...) _X_ATTRIBUTE_PRINTF(1,2);
27
29
 
28
30
typedef struct _List {
29
31
    char *value;
33
35
int listMember(char *elt, ListPtr list);
34
36
ListPtr listCons(char *car, ListPtr cdr);
35
37
ListPtr listAdjoin(char *car, ListPtr cdr);
36
 
ListPtr listConsF(ListPtr cdr, char *f, ...);
37
 
ListPtr listAdjoinF(ListPtr cdr, char *f, ...);
 
38
ListPtr listConsF(ListPtr cdr, char *f, ...) _X_ATTRIBUTE_PRINTF(2,3);
 
39
ListPtr listAdjoinF(ListPtr cdr, char *f, ...) _X_ATTRIBUTE_PRINTF(2,3);
38
40
int listLength(ListPtr list);
39
41
ListPtr appendList(ListPtr first, ListPtr second);
40
42
ListPtr makeList(char **a, int n, ListPtr old, int begin);
41
43
ListPtr reverseList(ListPtr old);
 
44
ListPtr sortList(ListPtr old);
42
45
void destroyList(ListPtr old);
43
46
void deepDestroyList(ListPtr old);
44
47