Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #12591

inline

From "Mark" <mark_cruzNOTFORSPAM@hotmail.com>
Newsgroups comp.lang.c
Subject inline
Date 2011-11-03 11:13 -0400
Organization Aioe.org NNTP Server
Message-ID <j8ubn1$6vb$1@speranza.aioe.org> (permalink)

Show all headers | View raw


Hello

is it required to have 'inline' keywoard before type in a function 
definition/declaration? For example, what is correct:

inline int small_func(void)
{
    /* do something */
}

or

int inline small_func(void)
{
    /* do something */
}

Also - is the same true for functions having static definition?

Thanks.

Mark 

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

inline "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-03 11:13 -0400
  Re: inline blp@cs.stanford.edu (Ben Pfaff) - 2011-11-03 09:14 -0700
    Re: inline "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-03 15:20 -0400
      Re: inline blp@cs.stanford.edu (Ben Pfaff) - 2011-11-03 12:50 -0700
      Re: inline Kaz Kylheku <kaz@kylheku.com> - 2011-11-03 20:10 +0000
      Re: inline Keith Thompson <kst-u@mib.org> - 2011-11-03 13:51 -0700

csiph-web