File: s-conv.h

package info (click to toggle)
clif 0.93-9.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 4,228 kB
  • sloc: ansic: 31,464; yacc: 5,067; lex: 819; makefile: 383; sh: 48
file content (23 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _S_CONV_H_
#define _S_CONV_H_

#define PRINTF_P (!strcmp (proc_name_text[proc], "printf") || \
		  !strcmp (proc_name_text[proc], "fprintf"))

#define SCANF_P (!strcmp (proc_name_text[proc], "scanf") || \
		 !strcmp (proc_name_text[proc], "fscanf"))

extern int num_args[];		/* Number of arguments for function
				   (extern or local). */
extern int args[];		/* Counter for number of arguments for
				   function (extern or local). Used
				   when parsing a call. */
typedef struct internal_type *FORMAT_ARGS;

extern FORMAT_ARGS format_args[][256];

extern void compare_format_args PROTO((struct internal_type *,
				       struct internal_type *,
				       enum intern_arit_class));

#endif