Cleanup include directives
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
47574b75e0
commit
782f799452
4 changed files with 24 additions and 59 deletions
41
level1.c
41
level1.c
|
|
@ -27,50 +27,33 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
#include "config.h"
|
||||||
* $SonyRCSfile: level1.c,v $
|
|
||||||
* $SonyRevision: 1.4 $
|
|
||||||
* $SonyDate: 1995/04/17 10:36:08 $
|
|
||||||
*
|
|
||||||
* $Id: level1.c,v 1.2 2004/07/20 15:55:43 hiroo Exp $
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#include "sj_sysvdef.h"
|
#include "sj_sysvdef.h"
|
||||||
#include <stdio.h>
|
|
||||||
|
#include <sys/param.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <sys/un.h>
|
||||||
|
|
||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <string.h>
|
|
||||||
#include <sys/un.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/param.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#ifdef TLI
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <tiuser.h>
|
|
||||||
#include <stropts.h>
|
|
||||||
#include <netdir.h>
|
|
||||||
#include <netconfig.h>
|
|
||||||
#else
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#endif
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "Const.h"
|
#include "Const.h"
|
||||||
#include "sj3cmd.h"
|
#include "sj3cmd.h"
|
||||||
#include "sj3err.h"
|
#include "sj3err.h"
|
||||||
|
|
||||||
#include "sj3lib.h"
|
#include "sj3lib.h"
|
||||||
|
|
||||||
#ifdef SVR4
|
#ifdef SVR4
|
||||||
#define signal sigset
|
#define signal sigset
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef lint
|
|
||||||
static char rcsid_sony[] = "$SonyId: level1.c,v 1.4 1995/04/17 10:36:08 notanaka Exp $ SONY;";
|
|
||||||
static char rcsid_patch[] = "$Id: level1.c,v 1.2 2004/07/20 15:55:43 hiroo Exp $";
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int sj3_error_number;
|
int sj3_error_number;
|
||||||
char *sj3_socket_name = SocketName;
|
char *sj3_socket_name = SocketName;
|
||||||
char *sj3_port_name = PortName;
|
char *sj3_port_name = PortName;
|
||||||
|
|
|
||||||
18
sj3lib.c
18
sj3lib.c
|
|
@ -27,14 +27,10 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
#include "config.h"
|
||||||
* $SonyRCSfile: sj.c,v $
|
|
||||||
* $SonyRevision: 1.2 $
|
|
||||||
* $SonyDate: 1994/12/09 11:27:09 $
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
#include <sys/file.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
|
@ -43,15 +39,15 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/file.h>
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include "sj_const.h"
|
|
||||||
#include "Const.h"
|
#include "Const.h"
|
||||||
#include "sj3err.h"
|
#include "sj3err.h"
|
||||||
#include "sj3lib.h"
|
#include "sj_const.h"
|
||||||
#include "sj_hinsi.h"
|
#include "sj_hinsi.h"
|
||||||
|
|
||||||
|
#include "sj3lib.h"
|
||||||
|
|
||||||
extern int sj3_error_number;
|
extern int sj3_error_number;
|
||||||
#ifdef __sony_news
|
#ifdef __sony_news
|
||||||
extern int _sys_code;
|
extern int _sys_code;
|
||||||
|
|
|
||||||
|
|
@ -27,17 +27,11 @@
|
||||||
* written authorization from Software Research Associates.
|
* written authorization from Software Research Associates.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* $SonyRCSfile: sj3stat.c,v $
|
|
||||||
* $SonyRevision: 1.2 $
|
|
||||||
* $SonyDate: 1997/01/23 11:09:41 $
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "Const.h"
|
#include "Const.h"
|
||||||
#include "sj3err.h"
|
#include "sj3err.h"
|
||||||
#include "sj3lib.h"
|
#include "sj3lib.h"
|
||||||
|
|
|
||||||
18
string.c
18
string.c
|
|
@ -27,24 +27,16 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
#include "config.h"
|
||||||
* $SonyRCSfile: string.c,v $
|
|
||||||
* $SonyRevision: 1.1 $
|
|
||||||
* $SonyDate: 1994/06/03 08:03:58 $
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "sj_sysvdef.h"
|
#include "sj_sysvdef.h"
|
||||||
|
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <locale.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <locale.h>
|
|
||||||
#include "sj_euc.h"
|
#include "sj_euc.h"
|
||||||
#if defined(__sony_news) && defined(SVR4)
|
|
||||||
#include <sonyils.h>
|
|
||||||
#endif
|
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
#ifndef TRUE
|
#ifndef TRUE
|
||||||
#define TRUE (1)
|
#define TRUE (1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue