Re: Revise sleb128 and uleb128 reader
[deliverable/binutils-gdb.git] / binutils / filemode.c
index 8b438a9a50d32c91a7c6192fc02b938db95574c0..c2c1f6178e412891272b02c87426b37b02bb2f3b 100644 (file)
@@ -1,10 +1,9 @@
 /* filemode.c -- make a string describing file modes
 /* filemode.c -- make a string describing file modes
-   Copyright 1985, 1990, 1991, 1994, 1995, 1997, 2003
-   Free Software Foundation, Inc.
+   Copyright (C) 1985-2019 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2, or (at your option)
+   the Free Software Foundation; either version 3, or (at your option)
    any later version.
 
    This program is distributed in the hope that it will be useful,
    any later version.
 
    This program is distributed in the hope that it will be useful,
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+   02110-1301, USA.  */
 \f
 \f
+#include "sysdep.h"
 #include "bfd.h"
 #include "bucomm.h"
 
 #include "bfd.h"
 #include "bucomm.h"
 
@@ -59,18 +59,6 @@ static void setst (unsigned long, char *);
        otherwise.
        'T' if the file is sticky but not executable.  */
 
        otherwise.
        'T' if the file is sticky but not executable.  */
 
-#if 0
-
-/* This is not used; only mode_string is used.  */
-
-void
-filemodestring (struct stat *statp, char *str)
-{
-  mode_string ((unsigned long) statp->st_mode, str);
-}
-
-#endif
-
 /* Get definitions for the file permission bits.  */
 
 #ifndef S_IRWXU
 /* Get definitions for the file permission bits.  */
 
 #ifndef S_IRWXU
This page took 0.042272 seconds and 4 git commands to generate.