summaryrefslogtreecommitdiffstats
path: root/misc/adamain/adacode.c
blob: e21edfdb49639c040b8722dbd8e7e71da50bf426 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* 
 *  COPYRIGHT (c) 1989-2009.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be found in
 *  the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 */

#include <stdio.h>

int gnat_main(
  int    argc,
  char **argv
)
{
  int i;
  printf( "gnat_main: argc=%d\n", argc );
  for (i=0 ; i<argc ; i++ )
    printf( "argv[%d]= %s\n", i, argv[i] );
  return 0;
}