~ubuntu-branches/ubuntu/trusty/indent/trusty

« back to all changes in this revision

Viewing changes to src/globs.h

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2002-01-27 18:47:28 UTC
  • Revision ID: james.westby@ubuntu.com-20020127184728-5w6lnpj072bqil91
Tags: upstream-2.2.7
ImportĀ upstreamĀ versionĀ 2.2.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (c) 1999 Carlo Wood.  All rights reserved.
 
2
 *
 
3
 * This program is free software; you can redistribute it and/or
 
4
 * modify it under the terms of the GNU General Public License
 
5
 * as published by the Free Software Foundation; either version 2
 
6
 * of the License, or (at your option) any later version.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program; if not, write to the Free Software
 
15
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
16
 */
 
17
 
 
18
#ifndef INDENT_GLOBS_H
 
19
#define INDENT_GLOBS_H
 
20
 
 
21
RCSTAG_H (globs, "$Id: globs.h,v 1.7 2001/12/03 20:25:00 david Exp $");
 
22
 
 
23
/* Warning messages:  indent continues */
 
24
#define WARNING(s,a,b) \
 
25
    message (_("Warning"), s, (unsigned int *)(a), (unsigned int *)(b))
 
26
 
 
27
/* Error messages: indent stops processing the current file. */
 
28
#define ERROR(s,a,b) \
 
29
    message (_("Error"), s, (unsigned int *)(a), (unsigned int *)(b))
 
30
 
 
31
extern char *xmalloc (unsigned int size);
 
32
extern char *xrealloc (char *ptr, unsigned int size);
 
33
extern void fatal (char *string, char *a0);
 
34
extern void message (char *kind, char *string, unsigned int *a0, unsigned int *a1);
 
35
 
 
36
#endif /* INDENT_GLOBS_H */