From fde07ff436ef19cc85a8bb626535cc18fdb9d588 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 28 Mar 2011 07:57:51 +0200 Subject: maint: correct formatting style in a header * src/find-mount-point.h: Move "*" to where it belongs. Move "const", too. * src/find-mount-point.c: Move "const" to conform. * src/Makefile.am (sc_tight_scope): Allow `*'s before the function name. Use perl's -l option and drop the \n after (and quotes around) $1. --- src/find-mount-point.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/find-mount-point.c') diff --git a/src/find-mount-point.c b/src/find-mount-point.c index 48dc42304..30e51227c 100644 --- a/src/find-mount-point.c +++ b/src/find-mount-point.c @@ -29,11 +29,11 @@ Give a diagnostic and return NULL if unable to determine the mount point. Exit if unable to restore current working directory. */ extern char * -find_mount_point (const char *file, const struct stat *file_stat) +find_mount_point (char const *file, struct stat const *file_stat) { struct saved_cwd cwd; struct stat last_stat; - char *mp = NULL; /* The malloced mount point. */ + char *mp = NULL; /* The malloc'd mount point. */ if (save_cwd (&cwd) != 0) { -- cgit v1.2.3-54-g00ecf