Back to index

lightning-sunbird  0.9+nobinonly
cdefs.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 1991, 1993
00003  *     The Regents of the University of California.  All rights reserved.
00004  *
00005  * This code is derived from software contributed to Berkeley by
00006  * Berkeley Software Design, Inc.
00007  *
00008  * Redistribution and use in source and binary forms, with or without
00009  * modification, are permitted provided that the following conditions
00010  * are met:
00011  * 1. Redistributions of source code must retain the above copyright
00012  *    notice, this list of conditions and the following disclaimer.
00013  * 2. Redistributions in binary form must reproduce the above copyright
00014  *    notice, this list of conditions and the following disclaimer in the
00015  *    documentation and/or other materials provided with the distribution.
00016  * [3 Deleted as of 22Jul99, see
00017  *     ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
00018  *        for details]
00019  * 4. Neither the name of the University nor the names of its contributors
00020  *    may be used to endorse or promote products derived from this software
00021  *    without specific prior written permission.
00022  *
00023  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
00024  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00025  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00026  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
00027  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00028  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
00029  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00030  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00031  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
00032  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00033  * SUCH DAMAGE.
00034  *
00035  *     @(#)cdefs.h   8.7 (Berkeley) 1/21/94
00036  */
00037 
00038 /* Adapted for GUSI by Matthias Neeracher <neeri@iis.ee.ethz.ch> */
00039 
00040 #ifndef       _CDEFS_H_
00041 #define       _CDEFS_H_
00042 
00043 #if defined(__cplusplus)
00044 #define       __BEGIN_DECLS extern "C" {
00045 #define       __END_DECLS   }
00046 #else
00047 #define       __BEGIN_DECLS
00048 #define       __END_DECLS
00049 #endif
00050 
00051 #define __P(x) x
00052 
00053 #endif /* !_CDEFS_H_ */