reformatting; convert daemon for inetd; add keywords
[unix-history] / usr / src / usr.bin / talk / talk.h
index c998662..8c7fc9f 100644 (file)
@@ -1,33 +1,34 @@
-/* $Header: talk.h 1.2 83/04/23 02:15:12 moore Exp $ */
+/*     @(#)talk.h      1.2 %G% */
 
 #include <curses.h>
 #include <utmp.h>
 
 
 #include <curses.h>
 #include <utmp.h>
 
-#define        forever         for(;;)
+#define forever                for(;;)
 
 
-#define        BUF_SIZE        512
+#define BUF_SIZE       512
 
 
-FILE *popen();
-int quit(), sleeper();
+FILE   *popen();
+int    quit();
+int    sleeper();
 
 
-extern int sockt;
-extern int curses_initialized;
-extern int invitation_waiting;
+extern int sockt;
+extern int curses_initialized;
+extern int invitation_waiting;
 
 
-extern char *current_state;
-extern int current_line;
+extern char *current_state;
+extern int current_line;
 
 typedef struct xwin {
 
 typedef struct xwin {
-       WINDOW *x_win;
-       int x_nlines;
-       int x_ncols;
-       int x_line;
-       int x_col;
-       char kill;
-       char cerase;
-       char werase;
+       WINDOW  *x_win;
+       int     x_nlines;
+       int     x_ncols;
+       int     x_line;
+       int     x_col;
+       char    kill;
+       char    cerase;
+       char    werase;
 } xwin_t;
 
 } xwin_t;
 
-extern xwin_t my_win;
-extern xwin_t his_win;
-extern WINDOW *line_win;
+extern xwin_t my_win;
+extern xwin_t his_win;
+extern WINDOW *line_win;