fix format not a string literal and no format arguments [-Werror=format-security]
[xcircuit.git] / asg / asg_parse_support.h
blobec41305f7544f24c61aa7d10b4b137a0875000cc
1 #ifndef _ASG_PARSE_SUPPORT
2 #define _ASG_PARSE_SUPPORT
4 #include <stdarg.h>
6 #ifdef _USING_CC
7 /* for use with g++ code: */
8 extern "C" void Add2TermModule(char*,char*,char*,char*);
9 extern "C" void Add3TermModule(char*,char*,char*,char*,char*);
10 extern "C" void AddNTermModule(char*,char*,int, ...);
11 extern "C" void AddModuleTerm(char*,char*,int,int);
12 #else
13 /* for use with standard C code: */
15 void Add2TermModule(char *name,char *type,char *inNode,char *outNode);
16 void Add3TermModule(char *name,char *type,char *inNode,char *outNode, char *inoutNode);
17 void AddNTermModule(char *name, char *type, int N, ...);
18 void AddModuleTerm(char *type, char *netName, int portnum, int allports);
20 /* Assumes the variable arguments form a list of nets corresponding to
21 * each terminal of the module <name> of the given <type>.
24 #endif
25 #endif