blob: 19698ef3b154f5be7a88a9bd2d3cd421a4e97e89 [file] [log] [blame]
/*
* Copyright (C) 2008-2009 Palm, Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#ifndef __KLOG_H
#define __KLOG_H
#if CONFIG_KERNEL_LOG
extern void klog_write(const char *s, unsigned int count);
extern void klog_printf(const char *fmt, ...);
#else
#define klog_write(s, count) ((void)0)
#define klog_printf(fmt, ...) ((void)0)
#endif
#endif