xref: /freebsd/contrib/libpcap/testprogs/versiontest.c (revision 16cef5f7a65588def71db4fdfa961f959847e3b6)
1*16cef5f7SJoseph Mingrone /*
2*16cef5f7SJoseph Mingrone  * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000
3*16cef5f7SJoseph Mingrone  *	The Regents of the University of California.  All rights reserved.
4*16cef5f7SJoseph Mingrone  *
5*16cef5f7SJoseph Mingrone  * Redistribution and use in source and binary forms, with or without
6*16cef5f7SJoseph Mingrone  * modification, are permitted provided that: (1) source code distributions
7*16cef5f7SJoseph Mingrone  * retain the above copyright notice and this paragraph in its entirety, (2)
8*16cef5f7SJoseph Mingrone  * distributions including binary code include the above copyright notice and
9*16cef5f7SJoseph Mingrone  * this paragraph in its entirety in the documentation or other materials
10*16cef5f7SJoseph Mingrone  * provided with the distribution, and (3) all advertising materials mentioning
11*16cef5f7SJoseph Mingrone  * features or use of this software display the following acknowledgement:
12*16cef5f7SJoseph Mingrone  * ``This product includes software developed by the University of California,
13*16cef5f7SJoseph Mingrone  * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
14*16cef5f7SJoseph Mingrone  * the University nor the names of its contributors may be used to endorse
15*16cef5f7SJoseph Mingrone  * or promote products derived from this software without specific prior
16*16cef5f7SJoseph Mingrone  * written permission.
17*16cef5f7SJoseph Mingrone  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18*16cef5f7SJoseph Mingrone  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19*16cef5f7SJoseph Mingrone  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20*16cef5f7SJoseph Mingrone  */
21*16cef5f7SJoseph Mingrone 
22*16cef5f7SJoseph Mingrone #include <pcap.h>
23*16cef5f7SJoseph Mingrone #include <stdio.h>
24*16cef5f7SJoseph Mingrone 
25*16cef5f7SJoseph Mingrone int
main(void)26*16cef5f7SJoseph Mingrone main(void)
27*16cef5f7SJoseph Mingrone {
28*16cef5f7SJoseph Mingrone 	printf("%s\n", pcap_lib_version());
29*16cef5f7SJoseph Mingrone }
30