mirror of
https://github.com/sheumann/hush.git
synced 2025-01-13 21:31:51 +00:00
more remove lost exported
This commit is contained in:
parent
007a011647
commit
e4baaa2d27
@ -381,7 +381,7 @@ static struct method_t methods_ipx[] = {
|
|||||||
{ "static", static_up_ipx, static_down_ipx, },
|
{ "static", static_up_ipx, static_down_ipx, },
|
||||||
};
|
};
|
||||||
|
|
||||||
struct address_family_t addr_ipx = {
|
static struct address_family_t addr_ipx = {
|
||||||
"ipx",
|
"ipx",
|
||||||
sizeof(methods_ipx) / sizeof(struct method_t),
|
sizeof(methods_ipx) / sizeof(struct method_t),
|
||||||
methods_ipx
|
methods_ipx
|
||||||
|
@ -1263,7 +1263,7 @@ void setvimode ( int viflag )
|
|||||||
vi_mode = viflag;
|
vi_mode = viflag;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
vi_Word_motion(char *command, int eat)
|
vi_Word_motion(char *command, int eat)
|
||||||
{
|
{
|
||||||
while (cursor < len && !isspace(command[cursor]))
|
while (cursor < len && !isspace(command[cursor]))
|
||||||
@ -1272,7 +1272,7 @@ vi_Word_motion(char *command, int eat)
|
|||||||
input_forward();
|
input_forward();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
vi_word_motion(char *command, int eat)
|
vi_word_motion(char *command, int eat)
|
||||||
{
|
{
|
||||||
if (isalnum(command[cursor]) || command[cursor] == '_') {
|
if (isalnum(command[cursor]) || command[cursor] == '_') {
|
||||||
@ -1294,7 +1294,7 @@ vi_word_motion(char *command, int eat)
|
|||||||
input_forward();
|
input_forward();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
vi_End_motion(char *command)
|
vi_End_motion(char *command)
|
||||||
{
|
{
|
||||||
input_forward();
|
input_forward();
|
||||||
@ -1304,7 +1304,7 @@ vi_End_motion(char *command)
|
|||||||
input_forward();
|
input_forward();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
vi_end_motion(char *command)
|
vi_end_motion(char *command)
|
||||||
{
|
{
|
||||||
if (cursor >= len-1)
|
if (cursor >= len-1)
|
||||||
@ -1326,7 +1326,7 @@ vi_end_motion(char *command)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
vi_Back_motion(char *command)
|
vi_Back_motion(char *command)
|
||||||
{
|
{
|
||||||
while (cursor > 0 && isspace(command[cursor-1]))
|
while (cursor > 0 && isspace(command[cursor-1]))
|
||||||
@ -1335,7 +1335,7 @@ vi_Back_motion(char *command)
|
|||||||
input_backward(1);
|
input_backward(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
vi_back_motion(char *command)
|
vi_back_motion(char *command)
|
||||||
{
|
{
|
||||||
if (cursor <= 0)
|
if (cursor <= 0)
|
||||||
|
@ -150,7 +150,7 @@ static inline void sem_down(int semid)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ipcsyslog_cleanup(void)
|
static void ipcsyslog_cleanup(void)
|
||||||
{
|
{
|
||||||
printf("Exiting Syslogd!\n");
|
printf("Exiting Syslogd!\n");
|
||||||
if (shmid != -1) {
|
if (shmid != -1) {
|
||||||
@ -165,7 +165,7 @@ void ipcsyslog_cleanup(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ipcsyslog_init(void)
|
static void ipcsyslog_init(void)
|
||||||
{
|
{
|
||||||
if (buf == NULL) {
|
if (buf == NULL) {
|
||||||
if ((shmid = shmget(KEY_ID, shm_size, IPC_CREAT | 1023)) == -1) {
|
if ((shmid = shmget(KEY_ID, shm_size, IPC_CREAT | 1023)) == -1) {
|
||||||
@ -195,7 +195,7 @@ void ipcsyslog_init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* write message to buffer */
|
/* write message to buffer */
|
||||||
void circ_message(const char *msg)
|
static void circ_message(const char *msg)
|
||||||
{
|
{
|
||||||
int l = strlen(msg) + 1; /* count the whole message w/ '\0' included */
|
int l = strlen(msg) + 1; /* count the whole message w/ '\0' included */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user