File: foo.c

package info (click to toggle)
gonzui 1.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,824 kB
  • ctags: 1,448
  • sloc: ruby: 9,570; sh: 5,684; ansic: 1,334; lex: 1,140; makefile: 466; perl: 205; ml: 131
file content (25 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (4)
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
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "bar.h"

int foo (int a, int b);

/*
 * We use tab characters for test purpose. gonzui internally
 * converts tab characters into spaces and we need to test
 * the effect.
 */
int 
main (int argc, char **argv)
{
	printf("%d\n", foo(1, 2));
	return 0;
}

int
foo (int a, int b)
{
	return bar(a, b);
}