Mercurial > octave
changeset 21920:13e0fc0dfa0c
remove unnecessary file pathlen.h
* liboctave/system/pathlen.h: Delete.
* liboctave/system/module.mk: Update.
* input.cc, lo-sysdep.cc: Don't include pathlen.h.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 15 Jun 2016 16:41:02 -0400 |
parents | 473414a91539 |
children | ecfcc8527661 |
files | libinterp/corefcn/input.cc liboctave/system/lo-sysdep.cc liboctave/system/module.mk liboctave/system/pathlen.h |
diffstat | 4 files changed, 0 insertions(+), 39 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/input.cc Thu Jun 16 01:01:53 2016 -0400 +++ b/libinterp/corefcn/input.cc Wed Jun 15 16:41:02 2016 -0400 @@ -59,7 +59,6 @@ #include "ov-fcn-handle.h" #include "pager.h" #include "parse.h" -#include "pathlen.h" #include "pt.h" #include "pt-const.h" #include "pt-eval.h"
--- a/liboctave/system/lo-sysdep.cc Thu Jun 16 01:01:53 2016 -0400 +++ b/liboctave/system/lo-sysdep.cc Wed Jun 15 16:41:02 2016 -0400 @@ -37,7 +37,6 @@ #include "lo-error.h" #include "lo-sysdep.h" #include "oct-locbuf.h" -#include "pathlen.h" #include "str-vec.h" #include "unistd-wrappers.h"
--- a/liboctave/system/module.mk Thu Jun 16 01:01:53 2016 -0400 +++ b/liboctave/system/module.mk Wed Jun 15 16:41:02 2016 -0400 @@ -12,7 +12,6 @@ liboctave/system/oct-uname.h NOINSTALL_SYSTEM_INC = \ - liboctave/system/pathlen.h \ liboctave/system/syswait.h SYSTEM_SRC = \
--- a/liboctave/system/pathlen.h Thu Jun 16 01:01:53 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,36 +0,0 @@ -/* - -Copyright (C) 1996-2015 John W. Eaton - -This file is part of Octave. - -Octave 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. - -Octave 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 Octave; see the file COPYING. If not, see -<http://www.gnu.org/licenses/>. - -*/ - -#if ! defined (octave_pathlen_h) -#define octave_pathlen_h 1 - -#include "octave-config.h" - -#if defined (HAVE_SYS_PARAM_H) -# include <sys/param.h> -#endif - -#if ! defined (MAXPATHLEN) -# define MAXPATHLEN 1024 -#endif - -#endif