~ubuntu-branches/ubuntu/gutsy/findutils/gutsy-proposed

« back to all changes in this revision

Viewing changes to gnulib/lib/filemode.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2005-07-04 11:37:37 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050704113737-ll89ui8be35r0pir
Tags: 4.2.22-2
* Remove locatedb on purge. (Closes: #315343)
* revert regex-syntax back to emacs-re. (Closes: #315136) Future versions
  will allow to select this by commandline parameter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Make a string describing file modes.
 
2
 
 
3
   Copyright (C) 1998, 1999, 2003 Free Software Foundation, Inc.
 
4
 
 
5
   This program is free software; you can redistribute it and/or modify
 
6
   it under the terms of the GNU General Public License as published by
 
7
   the Free Software Foundation; either version 2, or (at your option)
 
8
   any later version.
 
9
 
 
10
   This program is distributed in the hope that it will be useful,
 
11
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
   GNU General Public License for more details.
 
14
 
 
15
   You should have received a copy of the GNU General Public License
 
16
   along with this program; if not, write to the Free Software Foundation,
 
17
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
18
 
1
19
#ifndef FILEMODE_H_
2
20
 
3
 
# if HAVE_CONFIG_H
4
 
#  include <config.h>
5
 
# endif
6
 
 
7
21
# include <sys/types.h>
8
22
 
9
 
# ifndef PARAMS
10
 
#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
11
 
#   define PARAMS(Args) Args
12
 
#  else
13
 
#   define PARAMS(Args) ()
14
 
#  endif
15
 
# endif
16
 
 
17
 
void mode_string PARAMS ((mode_t mode, char *str));
 
23
void mode_string (mode_t mode, char *str);
18
24
 
19
25
#endif