Commit bbe14abe authored by Raphael Defosseux's avatar Raphael Defosseux

adding a header file

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 5ad10be0
Pipeline #8840 passed with stage
in 0 seconds
/*
* Copyright OAI Software Alliance - 2018
* Author Raphael Defosseux
* Comments : Proper comments
*/
#include <stdio.h>
typedef unsigned int oai_uint_t;
......@@ -37,9 +37,9 @@ pipeline {
stage ("Build") {
steps {
gitlabCommitStatus(name: "Build") {
sh "gcc src/test1.c -o bin/test1"
sh "gcc src/test2.c -o bin/test2"
sh "gcc src/test2.c -o bin/test3"
sh "gcc src/test1.c -I./include -o bin/test1"
sh "gcc src/test2.c -I./include -o bin/test2"
sh "gcc src/test2.c -I./include -o bin/test3"
sh "cppcheck --enable=warning --force --xml --xml-version=2 src 2> cppcheck.xml"
}
}
......
......@@ -4,10 +4,11 @@
* Comments : Proper comments
*/
#include <stdio.h>
#include "test1.h"
int main()
{
unsigned int testId = 1;
oai_uint_t testId = 1;
printf ("Test%d\n", testId);
#ifdef _DEBUG
char a[10];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment