summaryrefslogtreecommitdiff
path: root/regress/usr.bin/xlint/test-1.c
blob: fa1dc2717ad144ee3dec3b74c23e454100924d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*      $OpenBSD: test-1.c,v 1.2 2005/11/21 19:37:11 cloder Exp $ */

/*
 * Placed in the public domain by Chad Loder <cloder@openbsd.org>.
 *
 * Test the ARGSUSED feature of lint.
 */

int
unusedargs(int unused)
{
	return 0;
}

/* ARGSUSED */
int
main(int argc, char* argv[])
{
	unusedargs(1);
	return 0;
}