{ "static", static_up_ipx, static_down_ipx, },
};
-struct address_family_t addr_ipx = {
+static struct address_family_t addr_ipx = {
"ipx",
sizeof(methods_ipx) / sizeof(struct method_t),
methods_ipx
vi_mode = viflag;
}
-void
+static void
vi_Word_motion(char *command, int eat)
{
while (cursor < len && !isspace(command[cursor]))
input_forward();
}
-void
+static void
vi_word_motion(char *command, int eat)
{
if (isalnum(command[cursor]) || command[cursor] == '_') {
input_forward();
}
-void
+static void
vi_End_motion(char *command)
{
input_forward();
input_forward();
}
-void
+static void
vi_end_motion(char *command)
{
if (cursor >= len-1)
}
}
-void
+static void
vi_Back_motion(char *command)
{
while (cursor > 0 && isspace(command[cursor-1]))
input_backward(1);
}
-void
+static void
vi_back_motion(char *command)
{
if (cursor <= 0)
}
-void ipcsyslog_cleanup(void)
+static void ipcsyslog_cleanup(void)
{
printf("Exiting Syslogd!\n");
if (shmid != -1) {
}
}
-void ipcsyslog_init(void)
+static void ipcsyslog_init(void)
{
if (buf == NULL) {
if ((shmid = shmget(KEY_ID, shm_size, IPC_CREAT | 1023)) == -1) {
}
/* 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 */