/[LeafOK_CVS]/lbbs/src/menu_proc.c
ViewVC logotype

Diff of /lbbs/src/menu_proc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.23 by sysadm, Wed Jun 4 13:42:53 2025 UTC Revision 1.25 by sysadm, Mon Jun 16 14:30:44 2025 UTC
# Line 14  Line 14 
14   *                                                                         *   *                                                                         *
15   ***************************************************************************/   ***************************************************************************/
16    
17    #define _POSIX_C_SOURCE 200809L
18    
19  #include "bbs.h"  #include "bbs.h"
20  #include "bbs_cmd.h"  #include "bbs_cmd.h"
21  #include "common.h"  #include "common.h"
# Line 27  Line 29 
29  #include <errno.h>  #include <errno.h>
30  #include <signal.h>  #include <signal.h>
31  #include <string.h>  #include <string.h>
 #include <sys/types.h>  
32  #include <time.h>  #include <time.h>
33  #include <unistd.h>  #include <unistd.h>
34    #include <sys/types.h>
35    
36  int list_section(void *param)  int list_section(void *param)
37  {  {
# Line 93  int exit_bbs(void *param) Line 95  int exit_bbs(void *param)
95    
96  int license(void *param)  int license(void *param)
97  {  {
98          display_file(DATA_LICENSE, 1, 0);          display_file(DATA_LICENSE, 0);
99    
100          return REDRAW;          return REDRAW;
101  }  }
102    
103  int copyright(void *param)  int copyright(void *param)
104  {  {
105          display_file(DATA_COPYRIGHT, 1, 1);          display_file(DATA_COPYRIGHT, 1);
106    
107          return REDRAW;          return REDRAW;
108  }  }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1