1
/* Copyright (c) 1999 Carlo Wood. All rights reserved.
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.
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.
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.
18
#ifndef INDENT_GLOBS_H
19
#define INDENT_GLOBS_H
21
RCSTAG_H (globs, "$Id: globs.h,v 1.7 2001/12/03 20:25:00 david Exp $");
23
/* Warning messages: indent continues */
24
#define WARNING(s,a,b) \
25
message (_("Warning"), s, (unsigned int *)(a), (unsigned int *)(b))
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))
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);
36
#endif /* INDENT_GLOBS_H */