aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/external/opal-prd/opal-prd.h
blob: 606317d74c7e2be3d01153020ed2e616a54ec12d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
/* Copyright 2015 IBM Corp. */

#ifndef OPAL_PRD_H
#define OPAL_PRD_H

#include <syslog.h>

#define pr_debug(fmt, ...) pr_log(LOG_DEBUG, fmt, ## __VA_ARGS__)

void pr_log(int priority, const char *fmt, ...)
	__attribute__((format(printf, 2, 3)));

#endif /* OPAL_PRD_H */