Be a bit more efficient when processing the active and inactive
[oota-llvm.git] / projects / sample / lib / sample / sample.c
1 /*
2  * File: sample.c
3  *
4  * Description:
5  *      This is a sample source file for a library.  It helps to demonstrate
6  *      how to setup a project that uses the LLVM build system, header files,
7  *      and libraries.
8  */
9
10 #include <stdio.h>
11 #include <stdlib.h>
12
13 // LLVM Header File
14 #include "Support/DataTypes.h"
15
16 // Header file global to this project
17 #include "sample.h"
18
19 int
20 compute_sample (int a)
21 {
22         return a;
23 }
24