mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
22 lines
760 B
C++
22 lines
760 B
C++
|
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
|
||
|
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
|
||
|
#ident "$Id$"
|
||
|
#ident "Copyright (c) 2007-2012 Tokutek Inc. All rights reserved."
|
||
|
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
static void foo(int i) {
|
||
|
printf("%d\n", i);
|
||
|
}
|
||
|
|
||
|
int main(int argc, char *argv[]) {
|
||
|
int arg;
|
||
|
int i;
|
||
|
for (i = 1; i < argc; i++) {
|
||
|
arg = atoi(argv[i]);
|
||
|
}
|
||
|
foo(arg);
|
||
|
return 0;
|
||
|
}
|