Clean up warnings for round() function declaration.
[iverilog.git] / libveriuser / a_fetch_argv.c
blob77cdb982d0ca6c57754cf4c82423896aa58f1b8a
1 /* vi:sw=6
2 * Copyright (c) 2002 Michael Ruff (mruff at chiaro.com)
4 * This source code is free software; you can redistribute it
5 * and/or modify it in source code form under the terms of the GNU
6 * General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option)
8 * any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 #ifdef HAVE_CVS_IDENT
20 #ident "$Id: a_fetch_argv.c,v 1.2 2002/08/12 01:35:02 steve Exp $"
21 #endif
23 # include <vpi_user.h>
24 # include <veriuser.h>
27 * acc_fetch_argv implemented using VPI interface
29 char **acc_fetch_argv(void)
31 s_vpi_vlog_info vpi_vlog_info;
33 /* get command line info */
34 if (! vpi_get_vlog_info(&vpi_vlog_info))
35 return (char **)0;
37 /* return argc */
38 return vpi_vlog_info.argv;
42 * $Log: a_fetch_argv.c,v $
43 * Revision 1.2 2002/08/12 01:35:02 steve
44 * conditional ident string using autoconfig.
46 * Revision 1.1 2002/06/11 15:19:12 steve
47 * Add acc_fetch_argc/argv/version (mruff)