sj3lib: Get rid of sj_sysvdef.h
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
2e09ce400a
commit
b2efd23d9a
2 changed files with 1 additions and 15 deletions
|
|
@ -28,8 +28,6 @@
|
||||||
* from Sony Corporation.
|
* from Sony Corporation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "sj_sysvdef.h"
|
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
|
@ -48,10 +46,6 @@
|
||||||
#include "sj3err.h"
|
#include "sj3err.h"
|
||||||
#include "sj3lib.h"
|
#include "sj3lib.h"
|
||||||
|
|
||||||
#ifdef SVR4
|
|
||||||
#define signal sigset
|
|
||||||
#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;
|
||||||
|
|
|
||||||
|
|
@ -28,17 +28,11 @@
|
||||||
* from Sony Corporation.
|
* from Sony Corporation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "sj_sysvdef.h"
|
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#if defined(__sony_news) && defined(SVR4)
|
|
||||||
#include <sonyils.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "sj_euc.h"
|
#include "sj_euc.h"
|
||||||
|
|
||||||
#ifndef TRUE
|
#ifndef TRUE
|
||||||
|
|
@ -181,7 +175,7 @@ int max;
|
||||||
#define MASK 0x7f
|
#define MASK 0x7f
|
||||||
#define MSB 0x80
|
#define MSB 0x80
|
||||||
|
|
||||||
#if !defined(__sony_news) || (defined(__sony_news) && !defined(SVR4))
|
#if !defined(__sony_news) || defined(__sony_news)
|
||||||
static unsigned char def_char[] = {0x81, 0x40};
|
static unsigned char def_char[] = {0x81, 0x40};
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
@ -356,7 +350,6 @@ unsigned short code;
|
||||||
return(code);
|
return(code);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#ifndef SVR4
|
|
||||||
static unsigned char def_char[] = {0x81, 0x40};
|
static unsigned char def_char[] = {0x81, 0x40};
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
@ -379,6 +372,5 @@ int slen, elen;
|
||||||
return sj3_str_euctosjis(s, slen, e, def_char, &dummy);
|
return sj3_str_euctosjis(s, slen, e, def_char, &dummy);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue