aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-07-18 19:28:02 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-07-18 19:28:02 -0400
commit8ef2bf231fdb4ad61d58b94ec0f579473440c76f (patch)
tree922c2ceecd8777f2759560ea8dcc7f13423c9d94 /gcc
parent3d13060543568522aa44ad5a6f82bd8c91d6ae03 (diff)
downloadgcc-8ef2bf231fdb4ad61d58b94ec0f579473440c76f.zip
gcc-8ef2bf231fdb4ad61d58b94ec0f579473440c76f.tar.gz
gcc-8ef2bf231fdb4ad61d58b94ec0f579473440c76f.tar.bz2
(do_include): Prefix -H output lines with spaces, not dots.
(output_dots): Remove. From-SVN: r10150
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cccp.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index 01cad99..f60027f 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -1200,7 +1200,6 @@ static GENERIC_PTR xcalloc PROTO((size_t, size_t));
static char *savestring PROTO((char *));
static int file_size_and_mode PROTO((int, int *, long int *));
-static void output_dots PROTO((FILE *, int));
/* Read LEN bytes at PTR from descriptor DESC, for file FILENAME,
retrying if necessary. Return a negative value if an error occurs,
@@ -4633,10 +4632,8 @@ get_filename:
}
/* Handle -H option. */
- if (print_include_names) {
- output_dots (stderr, indepth);
- fprintf (stderr, "%s\n", fname);
- }
+ if (print_include_names)
+ fprintf (stderr, "%*s%s\n", indepth, "", fname);
if (angle_brackets)
system_include_depth++;
@@ -10030,18 +10027,6 @@ file_size_and_mode (fd, mode_pointer, size_pointer)
if (size_pointer) *size_pointer = sbuf.st_size;
return 0;
}
-
-static void
-output_dots (fd, depth)
- FILE* fd;
- int depth;
-{
- while (depth > 0) {
- putc ('.', fd);
- depth--;
- }
-}
-
#ifdef VMS