X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=findcmd.h;h=db74c1cb47bb2693c8a753799bbe093749163d8a;hb=3185942a5234e26ab13fa02f9c51d340cec514f8;hp=456781226ca8c73bcd92277e7c749cd61d4df08d;hpb=bb70624e964126b7ac4ff085ba163a9c35ffa18f;p=platform%2Fupstream%2Fbash.git diff --git a/findcmd.h b/findcmd.h index 4567812..db74c1c 100644 --- a/findcmd.h +++ b/findcmd.h @@ -1,34 +1,35 @@ /* findcmd.h - functions from findcmd.c. */ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997-2009 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. - Bash 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) any later - version. + Bash 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 3 of the License, or + (at your option) any later version. - Bash is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. + Bash is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License along - with Bash; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ + You should have received a copy of the GNU General Public License + along with Bash. If not, see . +*/ #if !defined (_FINDCMD_H_) #define _FINDCMD_H_ #include "stdc.h" -extern int file_status __P((char *)); -extern int executable_file __P((char *)); -extern int is_directory __P((char *)); -extern char *find_user_command __P((char *)); -extern char *find_path_file __P((char *)); -extern char *search_for_command __P((char *)); -extern char *user_command_matches __P((char *, int, int)); +extern int file_status __P((const char *)); +extern int executable_file __P((const char *)); +extern int is_directory __P((const char *)); +extern int executable_or_directory __P((const char *)); +extern char *find_user_command __P((const char *)); +extern char *find_path_file __P((const char *)); +extern char *search_for_command __P((const char *)); +extern char *user_command_matches __P((const char *, int, int)); #endif /* _FINDCMD_H_ */