Commit 52d81477 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Make send_line static and drop prototype

parent 46f4d0db
......@@ -68,8 +68,6 @@
exit(status); \
} while (0)
void send_line(char *l);
#else
#define RL_EXIT(status) exit(status)
#endif
......@@ -185,7 +183,7 @@ do_args(int sock, int argc, char * const *argv)
* to have a global variable.
*/
static int _line_sock;
void send_line(char *l)
static void send_line(char *l)
{
if (l) {
cli_write(_line_sock, l);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment