403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/44bsd-more/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/44bsd-more/files/patch-command.c
--- command.c.orig	2011-09-08 01:05:11.000000000 +0800
+++ command.c	2011-09-08 01:09:16.000000000 +0800
@@ -50,11 +50,13 @@ static const char rcsid[] =
 
 #include <sys/param.h>
 
+#include <stdio.h>
+#include <stdlib.h>
 #include <assert.h>
 #include <ctype.h>
 #include <stdarg.h>
-#include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 
 #include "less.h"
 #include "pathnames.h"
@@ -77,6 +79,7 @@ extern int screen_trashed;	/* The screen
 static int cmd_col;		/* Current screen column when accepting input */
 
 static cmd_char(), cmd_erase(), getcc();
+void error(char *);
 
 
 /*****************************************************************************
@@ -448,6 +451,7 @@ SETERRSTR(enum error e, const char *s, .
 /*
  * Prints an error message and clears the current error.
  */
+void
 handle_error()
 {
 	if (erreur == E_OK)
@@ -465,6 +469,7 @@ handle_error()
 /*
  * Clears any error messages and pretends they never occurred.
  */
+void
 clear_error()
 {
 	erreur = E_OK;
@@ -480,6 +485,7 @@ static char return_to_continue[] = "(pre
  * and wait for carriage return.
  */
 /* static */
+void
 error(s)
 	char *s;
 {
@@ -553,6 +559,7 @@ error(s)
  *
  * Accept and execute commands until a quit command, then return.
  */
+void
 commands()
 {
 	enum runmacro runmacro();
@@ -646,6 +653,7 @@ commands()
  * 
  */
 
+void
 editfile()
 {
 	off_t position();
@@ -707,6 +715,7 @@ editfile()
 	lsystem(buf);
 }
 
+void
 showlist()
 {
 	extern int sc_width;

Youez - 2016 - github.com/yon3zu
LinuXploit