From d4268169205fbbf497ec733a31188abfae882996 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 21 Nov 1995 19:51:39 +0000 Subject: (check_hashbang): Actually declare FILE_NAME and FILE volatile, not the contents. --- exec/hashexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/hashexec.c b/exec/hashexec.c index 1a735e37..361d0d9b 100644 --- a/exec/hashexec.c +++ b/exec/hashexec.c @@ -175,7 +175,7 @@ check_hashbang (struct execdata *e, inline void prepare_args (void) { - volatile char *file_name = NULL; + char * volatile file_name = NULL; size_t namelen; if (! (flags & EXEC_SECURE)) @@ -186,7 +186,7 @@ check_hashbang (struct execdata *e, the `PATH' environment variable might find it. */ volatile error_t error; - volatile char *name; + char * volatile name; file_t name_file; struct stat st; int file_fstype; -- cgit v1.2.3