General cleanup of old and ugly code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@235 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -14,6 +14,8 @@ RCSID("$Header$");
|
||||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <krb.h>
|
||||
#include <kafs.h>
|
||||
@@ -31,8 +33,7 @@ RCSID("$Header$");
|
||||
#define ToAsciiUpper(c) ((c) - 'a' + 'A')
|
||||
|
||||
static void
|
||||
foldup(a, b)
|
||||
char *a, *b;
|
||||
foldup(char *a, char *b)
|
||||
{
|
||||
for (; *b; a++, b++)
|
||||
if (IsAsciiLower(*b))
|
||||
@@ -45,7 +46,7 @@ foldup(a, b)
|
||||
#define _PATH_THISCELL "/usr/vice/etc/ThisCell"
|
||||
|
||||
static char *
|
||||
k_cell()
|
||||
k_cell(void)
|
||||
{
|
||||
static char cell[64];
|
||||
|
||||
@@ -245,7 +246,7 @@ k_setpag(void)
|
||||
static jmp_buf catch_SIGSYS;
|
||||
|
||||
static void
|
||||
SIGSYS_handler()
|
||||
SIGSYS_handler(int sig)
|
||||
{
|
||||
errno = 0;
|
||||
signal(SIGSYS, SIGSYS_handler); /* Need to reinstall handler on SYSV */
|
||||
|
@@ -4,11 +4,11 @@
|
||||
* This section is for machines using multiple entry point AFS syscalls!
|
||||
*/
|
||||
|
||||
#if defined(sun) && !defined(__svr4__)
|
||||
#if SunOS == 4
|
||||
#define AFS_SYSCALL 31
|
||||
#endif
|
||||
|
||||
#if defined(sun) && defined(__svr4__)
|
||||
#if SunOS == 5
|
||||
#define AFS_SYSCALL 105
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user