demux: adaptive: remove redundant check of CRLF
[vlc.git] / src / test / headers.c
blob7c396c843980b50b3d00ef5236bde6d61d7dea1f
1 /*****************************************************************************
2 * headers.c: Test for public headers usability
3 *****************************************************************************
4 * Copyright (C) 2007 RĂ©mi Denis-Courmont
5 * $Id$
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation; either version 2.1 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
20 *****************************************************************************/
22 /* config.h is NOT installed, headers MUST NOT depend on it.
23 # include <config.h> */
24 /* One thing we don't check is the CPPFLAGS - these MUST be exposed publicly,
25 * e.g. using pkg-config. */
27 #define PACKAGE "vlc"
29 /* Because we are from src/ __LIBVLC__ is defined, but we don't want that,
30 * as we act here as a third-party program just linking to libvlc */
31 #ifdef __LIBVLC__
32 # undef __LIBVLC__
33 #endif
35 #include <vlc/vlc.h>
36 #include <vlc/deprecated.h>
37 #include <vlc/libvlc.h>
38 #include <vlc/libvlc_events.h>
39 #include <vlc/libvlc_media.h>
40 #include <vlc/libvlc_media_discoverer.h>
41 #include <vlc/libvlc_media_library.h>
42 #include <vlc/libvlc_media_list.h>
43 #include <vlc/libvlc_media_list_player.h>
44 #include <vlc/libvlc_media_player.h>
45 #include <vlc/libvlc_vlm.h>
47 #include <stdio.h>
49 int main (void)
51 puts ("Public headers can be used for external compilation.");
52 return 0;