myhistedit.h (127958) | myhistedit.h (200956) |
---|---|
1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)myhistedit.h 8.2 (Berkeley) 5/4/95 | 1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)myhistedit.h 8.2 (Berkeley) 5/4/95 |
30 * $FreeBSD: head/bin/sh/myhistedit.h 127958 2004-04-06 20:06:54Z markm $ | 30 * $FreeBSD: head/bin/sh/myhistedit.h 200956 2009-12-24 18:41:14Z jilles $ |
31 */ 32 33#include <histedit.h> 34 35extern History *hist; 36extern EditLine *el; 37extern int displayhist; 38 39void histedit(void); 40void sethistsize(const char *); 41int histcmd(int, char **); | 31 */ 32 33#include <histedit.h> 34 35extern History *hist; 36extern EditLine *el; 37extern int displayhist; 38 39void histedit(void); 40void sethistsize(const char *); 41int histcmd(int, char **); |
42int not_fcnumber(char *); 43int str_to_event(char *, int); | 42int not_fcnumber(const char *); 43int str_to_event(const char *, int); |
44int bindcmd(int, char **); 45 | 44int bindcmd(int, char **); 45 |