summaryrefslogtreecommitdiff
path: root/eg/retdecl.c
blob: 6675c8dacc83bdc5e2a180bc5a0cd4d192ea2f82 (plain)
1
2
3
4
5
6
7
8
9
10
/* return near the declarator
 * This is an example of embedding the `returns' information in near the
 * declarator in a function declaration.
 */
char *			/* a string, or NULL if it failed */
retdecl()
{
    /* reference implementation that barely meets the interface spec */
    return NULL;
}