From 53bafb796b654d1f7206196fd97cf8ba0b08ad7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 28 Sep 2015 12:29:58 +0200 Subject: Imported Upstream version 3.0 --- dmidecode.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dmidecode.h') diff --git a/dmidecode.h b/dmidecode.h index cae627b..20e7e96 100644 --- a/dmidecode.h +++ b/dmidecode.h @@ -1,7 +1,7 @@ /* * This file is part of the dmidecode project. * - * Copyright (C) 2005-2008 Jean Delvare + * Copyright (C) 2005-2008 Jean Delvare * * 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 @@ -18,6 +18,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include "types.h" + struct dmi_header { u8 type; @@ -26,4 +28,5 @@ struct dmi_header u8 *data; }; +int is_printable(const u8 *data, int len); const char *dmi_string(const struct dmi_header *dm, u8 s); -- cgit v1.2.3