The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/macro_help.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* 
    2  * Mach Operating System
    3  * Copyright (c) 1988 Carnegie-Mellon University
    4  * All rights reserved.  The CMU software License Agreement specifies
    5  * the terms and conditions for use and redistribution.
    6  */
    7 /*
    8  *      File:   kern/macro_help.h
    9  *
   10  *      Provide help in making lint-free macro routines
   11  *
   12  * HISTORY
   13  * $Log:        macro_help.h,v $
   14  * Revision 2.3  93/03/09  11:25:27  danner
   15  *      Simplified.
   16  *      [93/03/09            danner]
   17  * 
   18  * Revision 2.2  93/02/04  07:51:01  danner
   19  *      Cast down from UX.
   20  * 
   21  * Revision 2.1.2.1  92/12/18  16:46:34  pds
   22  *      Check if MACRO_BEGIN has already been defined (by cthreads.h).
   23  *      [92/06/13            pds]
   24  * 
   25  * Revision 2.1  89/08/04  14:46:36  rwd
   26  * Created.
   27  * 
   28  * Revision 2.2  88/10/18  03:36:20  mwyoung
   29  *      Added a form of return that can be used within macros that
   30  *      does not result in "statement not reached" noise.
   31  *      [88/10/17            mwyoung]
   32  *      
   33  *      Add MACRO_BEGIN, MACRO_END.
   34  *      [88/10/11            mwyoung]
   35  *      
   36  *      Created.
   37  *      [88/10/08            mwyoung]
   38  * 
   39  */
   40 
   41 #ifndef _MACRO_HELP_H_
   42 #define _MACRO_HELP_H_  1
   43 
   44 #define         MACRO_BEGIN     do {
   45 #define         MACRO_END       } while (0)
   46 
   47 #define         MACRO_RETURN    if (1) return
   48 
   49 #endif  /* _MACRO_HELP_H_ */
   50 
   51 

Cache object: fdb06bae41ad77c9d7c05ef1f2e72820


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.