Remove opening()
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
8ebf6310bf
commit
66ee708d14
1 changed files with 0 additions and 16 deletions
|
|
@ -47,10 +47,6 @@
|
||||||
#include "Const.h"
|
#include "Const.h"
|
||||||
#include "server.h"
|
#include "server.h"
|
||||||
|
|
||||||
#ifndef lint
|
|
||||||
static char rcsid_sony[] = "$Header: /export/work/contrib/sj3/server/RCS/main.c,v 1.12 1994/06/03 07:41:30 notanaka Exp $ SONY;";
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef SVR4
|
#ifdef SVR4
|
||||||
#define signal sigset
|
#define signal sigset
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -60,17 +56,6 @@ extern char *lock_file;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void
|
|
||||||
opening (void)
|
|
||||||
{
|
|
||||||
extern char *version_number;
|
|
||||||
extern char *time_stamp;
|
|
||||||
|
|
||||||
printf("Kana-Kanji Conversion Server Version %s\r\n", version_number);
|
|
||||||
printf("Copyright (c) 1990-1995 Sony Corporation\r\n");
|
|
||||||
printf("Created at %s\r\n", time_stamp);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef LOCK_FILE
|
#ifdef LOCK_FILE
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -219,7 +204,6 @@ main (int argc, char **argv)
|
||||||
#ifdef __sony_news
|
#ifdef __sony_news
|
||||||
(void) setlocale(LC_CTYPE, "ja_JP.EUC");
|
(void) setlocale(LC_CTYPE, "ja_JP.EUC");
|
||||||
#endif
|
#endif
|
||||||
opening();
|
|
||||||
#ifndef __NetBSD__
|
#ifndef __NetBSD__
|
||||||
if (setuid(geteuid())) {
|
if (setuid(geteuid())) {
|
||||||
fprintf(stderr, "error at setuid.\r\n"); exit(1);
|
fprintf(stderr, "error at setuid.\r\n"); exit(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue