%! Change __XXX_H__ to use the filename. Include the subdirectory prefix if %! the file is installed in a subdirectory of /usr/include. %! Examples: __SIGNAL_H__, __SYS_SIGNAL_H__. ALL typedefs, struct declarations %! and externs must be in the #ifdef C||C++ section. /* * XXX.h -- * * Brief description of purpose. * * * Copyright 1990, Silicon Graphics, Inc. * All Rights Reserved. * * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.; * the contents of this file may not be disclosed to third parties, copied or * duplicated in any form, in whole or in part, without the prior written * permission of Silicon Graphics, Inc. * * RESTRICTED RIGHTS LEGEND: * Use, duplication or disclosure by the Government is subject to restrictions * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data * and Computer Software clause at DFARS 252.227-7013, and/or in similar or * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished - * rights reserved under the Copyright Laws of the United States. */ #ifndef __XXX_H__ #define __XXX_H__ #pragma linkage c #ident "$Revision: 1.2 $" #include < #define #if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) typedef #ifdef _KERNEL extern int foo(int); #else extern int bar(void); #endif #endif /* C || C++ */ #pragma linkage #endif /* !__XXX_H__ */