Path: blob/main/cddl/contrib/opensolaris/head/note.h
39488 views
/*1* CDDL HEADER START2*3* The contents of this file are subject to the terms of the4* Common Development and Distribution License, Version 1.0 only5* (the "License"). You may not use this file except in compliance6* with the License.7*8* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE9* or http://www.opensolaris.org/os/licensing.10* See the License for the specific language governing permissions11* and limitations under the License.12*13* When distributing Covered Code, include this CDDL HEADER in each14* file and include the License file at usr/src/OPENSOLARIS.LICENSE.15* If applicable, add the following below this CDDL HEADER, with the16* fields enclosed by brackets "[]" replaced with your own identifying17* information: Portions Copyright [yyyy] [name of copyright owner]18*19* CDDL HEADER END20*/21/*22* Copyright (c) 1994 by Sun Microsystems, Inc.23*/2425/*26* note.h: interface for annotating source with info for tools27*28* NOTE is the default interface, but if the identifier NOTE is in use for29* some other purpose, you may prepare a similar header file using your own30* identifier, mapping that identifier to _NOTE. Also, exported header31* files should *not* use NOTE, since the name may already be in use in32* a program's namespace. Rather, exported header files should include33* sys/note.h directly and use _NOTE. For consistency, all kernel source34* should use _NOTE.35*/3637#ifndef _NOTE_H38#define _NOTE_H3940#pragma ident "%Z%%M% %I% %E% SMI"4142#include <sys/note.h>4344#ifdef __cplusplus45extern "C" {46#endif4748#define NOTE _NOTE4950#ifdef __cplusplus51}52#endif5354#endif /* _NOTE_H */555657