Page MenuHomeFreeBSD

D24458.1791059763.diff
No OneTemporary

Size
1001 B
Referenced Files
None
Subscribers
None

D24458.1791059763.diff

Index: bin/sh/histedit.c
===================================================================
--- bin/sh/histedit.c
+++ bin/sh/histedit.c
@@ -54,8 +54,8 @@
#include "main.h"
#include "output.h"
#include "mystring.h"
-#ifndef NO_HISTORY
#include "myhistedit.h"
+#ifndef NO_HISTORY
#include "error.h"
#include "eval.h"
#include "memalloc.h"
@@ -503,7 +503,7 @@
#include "error.h"
int
-histcmd(int argc, char **argv)
+histcmd(int argc __unused, char **argv __unused)
{
error("not compiled with history support");
@@ -512,7 +512,7 @@
}
int
-bindcmd(int argc, char **argv)
+bindcmd(int argc __unused, char **argv __unused)
{
error("not compiled with line editing support");
Index: bin/sh/myhistedit.h
===================================================================
--- bin/sh/myhistedit.h
+++ bin/sh/myhistedit.h
@@ -42,3 +42,7 @@
void sethistsize(const char *);
void setterm(const char *);
+#ifdef NO_HISTORY
+int histcmd(int, char **);
+int bindcmd(int, char **);
+#endif

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 3, 8:36 PM (20 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30138640
Default Alt Text
D24458.1791059763.diff (1001 B)

Event Timeline