Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152958000
D24458.id70705.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
844 B
Referenced Files
None
Subscribers
None
D24458.id70705.diff
View Options
Index: bin/sh/histedit.c
===================================================================
--- bin/sh/histedit.c
+++ bin/sh/histedit.c
@@ -54,12 +54,12 @@
#include "main.h"
#include "output.h"
#include "mystring.h"
+#include "builtins.h"
#ifndef NO_HISTORY
#include "myhistedit.h"
#include "error.h"
#include "eval.h"
#include "memalloc.h"
-#include "builtins.h"
#define MAXHISTLOOPS 4 /* max recursions through fc */
#define DEFEDITOR "ed" /* default editor *should* be $EDITOR */
@@ -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");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 8:05 AM (2 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31755167
Default Alt Text
D24458.id70705.diff (844 B)
Attached To
Mode
D24458: Fix build with NO_HISTORY set
Attached
Detach File
Event Timeline
Log In to Comment