summaryrefslogtreecommitdiffstats
path: root/demos/err/test_err.h
blob: a056815193fb052e484454ae0f5940dc102a89b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Demo of use of error library */

#ifndef TEST_ERR_H
# define TEST_ERR_H

#ifdef  __cplusplus
extern "C" {
#endif

/* Test library name */

# define TEST_LIB_NAME   "demo test library routines"

/* Normal header details go here */

/*
 * Prototypes are picked up by the error script to generate strings for
 * function names.
 */

void a_test_function(void);

/*
 * Everything after this point is auto generated when you do "make errors"
 */