aboutsummaryrefslogtreecommitdiff
path: root/gcc/line-map.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-06-20 05:51:13 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-06-20 05:51:13 +0000
commite2b9853b291bb738919adb4e31990135a6e677e1 (patch)
tree7c1fbdd9405566a9eed73f76ae9f9f06352f11dc /gcc/line-map.h
parentf139561cce27d9b662b0a3b22d3dd6aa56ae1854 (diff)
downloadgcc-e2b9853b291bb738919adb4e31990135a6e677e1.zip
gcc-e2b9853b291bb738919adb4e31990135a6e677e1.tar.gz
gcc-e2b9853b291bb738919adb4e31990135a6e677e1.tar.bz2
* line-map.c, line-map.h: Convert to ISO prototypes.
From-SVN: r68242
Diffstat (limited to 'gcc/line-map.h')
-rw-r--r--gcc/line-map.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/gcc/line-map.h b/gcc/line-map.h
index 6020188..8309f08 100644
--- a/gcc/line-map.h
+++ b/gcc/line-map.h
@@ -68,12 +68,10 @@ struct line_maps
};
/* Initialize a line map set. */
-extern void init_line_maps
- PARAMS ((struct line_maps *));
+extern void init_line_maps (struct line_maps *);
/* Free a line map set. */
-extern void free_line_maps
- PARAMS ((struct line_maps *));
+extern void free_line_maps (struct line_maps *);
/* Add a mapping of logical source line to physical source file and
line number. The text pointed to by TO_FILE must have a lifetime
@@ -85,19 +83,18 @@ extern void free_line_maps
function. A call to this function can relocate the previous set of
maps, so any stored line_map pointers should not be used. */
extern const struct line_map *add_line_map
- PARAMS ((struct line_maps *, enum lc_reason, unsigned int sysp,
- unsigned int from_line, const char *to_file, unsigned int to_line));
+ (struct line_maps *, enum lc_reason, unsigned int sysp,
+ unsigned int from_line, const char *to_file, unsigned int to_line);
/* Given a logical line, returns the map from which the corresponding
(source file, line) pair can be deduced. */
-extern const struct line_map *lookup_line
- PARAMS ((struct line_maps *, unsigned int));
+extern const struct line_map *lookup_line (struct line_maps *, unsigned int);
/* Print the file names and line numbers of the #include commands
which led to the map MAP, if any, to stderr. Nothing is output if
the most recently listed stack is the same as the current one. */
-extern void print_containing_files
- PARAMS ((struct line_maps *, const struct line_map *));
+extern void print_containing_files (struct line_maps *,
+ const struct line_map *);
/* Converts a map and logical line to source line. */
#define SOURCE_LINE(MAP, LINE) ((LINE) + (MAP)->to_line - (MAP)->from_line)