[newlib-cygwin] Cygwin: path_conv: reorder private method declarations

Corinna Vinschen corinna@sourceware.org
Sun Jan 6 19:42:00 GMT 2019


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=26d953689337a93c31c55083c2073f309ba33c38

commit 26d953689337a93c31c55083c2073f309ba33c38
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Sat Jan 5 21:51:51 2019 +0100

    Cygwin: path_conv: reorder private method declarations
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/path.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 3f84da2..b244b57 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -143,15 +143,19 @@ class path_conv
   DWORD fileattr;
   ULONG caseinsensitive;
   fs_info fs;
+
   PWCHAR wide_path;
   UNICODE_STRING uni_path;
-  void add_ext_from_sym (symlink_info&);
   DWORD symlink_length;
   const char *path;
   unsigned path_flags;
   const char *suffix;
   const char *posix_path;
   path_conv_handle conv_handle;
+
+  void add_ext_from_sym (symlink_info&);
+  char *modifiable_path () {return (char *) path;}
+
  public:
   int error;
   device dev;
@@ -407,8 +411,6 @@ class path_conv
   inline const char *get_posix () const { return posix_path; }
   void __reg2 set_posix (const char *);
   DWORD get_symlink_length () { return symlink_length; };
- private:
-  char *modifiable_path () {return (char *) path;}
 };
 
 /* Symlink marker */



More information about the Cygwin-cvs mailing list