aboutsummaryrefslogtreecommitdiff
path: root/include/sg_pr2serr.h
blob: 71db2ec5748cad7297caad697a2cb32d98d2fe20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SG_PR2SERR_H
#define SG_PR2SERR_H

/*
 * Copyright (c) 2004-2016 Douglas Gilbert.
 * All rights reserved.
 * Use of this source code is governed by a BSD-style
 * license that can be found in the BSD_LICENSE file.
 */

#include <stdio.h>

#if defined(__GNUC__) || defined(__clang__)
int pr2serr(const char * fmt, ...)
        __attribute__ ((format (printf, 1, 2)));
#else
int pr2serr(const char * fmt, ...);
#endif

#endif