diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-24 02:01:26 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-24 02:01:26 +0000 |
commit | 975c8f9d43d4026bf1d669b08646e9d29a9d02e4 (patch) | |
tree | fd8aed139ffef712ccbb2d392c13b3949b0192c5 /fm.h | |
parent | [w3m-dev 02530] segfault for bad cookie from local (diff) | |
download | w3m-975c8f9d43d4026bf1d669b08646e9d29a9d02e4.tar.gz w3m-975c8f9d43d4026bf1d669b08646e9d29a9d02e4.zip |
run make indent
Diffstat (limited to '')
-rw-r--r-- | fm.h | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -1,4 +1,4 @@ -/* $Id: fm.h,v 1.19 2001/11/23 22:07:45 ukai Exp $ */ +/* $Id: fm.h,v 1.20 2001/11/24 02:01:26 ukai Exp $ */ /* * w3m: WWW wo Miru utility * @@ -46,7 +46,7 @@ void bcopy(void *, void *, int); void bzero(void *, int); #endif /* HAVE_BCOPY */ #ifdef __EMX__ -#include <strings.h> /* for bzero() and bcopy() */ +#include <strings.h> /* for bzero() and bcopy() */ #endif #ifdef MAINPROGRAM @@ -180,8 +180,7 @@ void bzero(void *, int); #define MAX_LB 5 #ifdef MAINPROGRAM -int REV_LB[MAX_LB] = -{ +int REV_LB[MAX_LB] = { LB_N_FRAME, LB_FRAME, LB_N_INFO, LB_INFO, LB_N_SOURCE, }; #else /* not MAINPROGRAM */ @@ -543,21 +542,21 @@ struct cookie { #define COO_DOMAIN 4 #define COO_PATH 8 #define COO_DISCARD 16 -#define COO_OVERRIDE 32 /* user chose to override security checks */ +#define COO_OVERRIDE 32 /* user chose to override security checks */ -#define COO_OVERRIDE_OK 32 /* flag to specify that an error is overridable */ +#define COO_OVERRIDE_OK 32 /* flag to specify that an error is overridable */ /* version 0 refers to the original cookie_spec.html */ /* version 1 refers to RFC 2109 */ /* version 1' refers to the Internet draft to obsolete RFC 2109 */ -#define COO_EINTERNAL (1) /* unknown error; probably forgot to convert "return 1" in cookie.c */ +#define COO_EINTERNAL (1) /* unknown error; probably forgot to convert "return 1" in cookie.c */ #define COO_ETAIL (2 | COO_OVERRIDE_OK) /* tail match failed (version 0) */ -#define COO_ESPECIAL (3) /* special domain check failed (version 0) */ -#define COO_EPATH (4) /* Path attribute mismatch (version 1 case 1) */ +#define COO_ESPECIAL (3) /* special domain check failed (version 0) */ +#define COO_EPATH (4) /* Path attribute mismatch (version 1 case 1) */ #define COO_ENODOT (5 | COO_OVERRIDE_OK) /* no embedded dots in Domain (version 1 case 2.1) */ #define COO_ENOTV1DOM (6 | COO_OVERRIDE_OK) /* Domain does not start with a dot (version 1 case 2.2) */ #define COO_EDOM (7 | COO_OVERRIDE_OK) /* domain-match failed (version 1 case 3) */ #define COO_EBADHOST (8 | COO_OVERRIDE_OK) /* dot in matched host name in FQDN (version 1 case 4) */ -#define COO_EPORT (9) /* Port match failed (version 1' case 5) */ +#define COO_EPORT (9) /* Port match failed (version 1' case 5) */ #define COO_EMAX COO_EPORT #endif /* USE_COOKIE */ @@ -632,7 +631,7 @@ extern char EscKeymap[]; extern char EscBKeymap[]; extern char EscDKeymap[]; #ifdef __EMX__ -extern char PcKeymap[]; +extern char PcKeymap[]; #endif extern FuncList w3mFuncList[]; extern KeyList w3mKeyList; @@ -651,7 +650,7 @@ global char *NO_proxy init(NULL); global int NOproxy_netaddr init(TRUE); #ifdef INET6 global int DNS_order init(0); -extern int ai_family_order_table[3][3]; /* XXX */ +extern int ai_family_order_table[3][3]; /* XXX */ #endif /* INET6 */ global TextList *NO_proxy_domains; global char NoCache init(FALSE); @@ -862,9 +861,9 @@ global int FollowRedirection init(10); global int w3m_backend init(FALSE); global Str backend_halfdump_str; global TextList *backend_batch_commands init(NULL); -int backend( void ); +int backend(void); extern void deleteFiles(void); -void w3m_exit( int i ); +void w3m_exit(int i); #ifdef USE_ALARM #define AL_UNSET 0 |