From b4a8792e89bd9c0c373f1341c5db65254fd9526a Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 6 Nov 2013 20:35:30 +0100 Subject: [PATCH 7/9] Add also wsgtk wrapper (used for wireshark-gtk) --- wsutil/wsgtk.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 wsutil/wsgtk.h diff --git a/wsutil/wsgtk.h b/wsutil/wsgtk.h new file mode 100644 index 0000000..a7f45c5 --- /dev/null +++ b/wsutil/wsgtk.h @@ -0,0 +1,41 @@ +/* wsgtk.h + * + * Wrapper around gtk's include file gtk.h. + * Try to work around these warnings to ensure a clean build with -WDocumentation. + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs + * Copyright 2007 Gerald Combs + * + * 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; either version 2 + * of the License, or (at your option) any later version. + * + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef __WSGTK_H__ +#define __WSGTK_H__ + +#if defined (__clang__) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" +#endif + +#include + +#if defined (__clang__) +#pragma clang diagnostic pop +#endif + +#endif /* __WSGTK_H__ */ -- 1.8.3.2