Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / contrib / lvm2 / dist / include / pogen.h
1 /*      $NetBSD: pogen.h,v 1.1.1.2 2009/12/02 00:25:46 haad Exp $       */
2
3 /*
4  * Copyright (C) 2004 Red Hat, Inc. All rights reserved.
5  *
6  * This file is part of LVM2.
7  *
8  * This copyrighted material is made available to anyone wishing to use,
9  * modify, copy, or redistribute it subject to the terms and conditions
10  * of the GNU General Public License v.2.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15  */
16
17 /*
18  * Macros to change log messages into a format that xgettext can handle.
19  *
20  * Note that different PRI* definitions lead to different strings for
21  * different architectures.
22  */
23
24 #define print_log(level, dm_errno, file, line, format, args...) print_log(format, args)
25 #define dm_log(level, file, line, format, args...) dm_log(format, args)
26 #define dm_log_with_errno(level, dm_errno, file, line, format, args...) \
27     dm_log(level, file, line, format, args)
28