From: Marcus Holland-Moritz Date: Tue, 1 Jan 2008 17:18:13 +0000 (+0000) Subject: Add editor blocks to some header files. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e9a8c0991ec6634f51266c0ad53e02c328bc0761;p=p5sagit%2Fp5-mst-13.2.git Add editor blocks to some header files. p4raw-id: //depot/perl@32793 --- diff --git a/dosish.h b/dosish.h index c939127..0981137 100644 --- a/dosish.h +++ b/dosish.h @@ -197,3 +197,13 @@ /* Don't go reading from /dev/urandom */ #define PERL_NO_DEV_RANDOM + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/fakesdio.h b/fakesdio.h index 41d243b..6144380 100644 --- a/fakesdio.h +++ b/fakesdio.h @@ -122,3 +122,12 @@ #define fscanf _CANNOT _fscanf_ #define fgets(s,n,f) _CANNOT _fgets_ +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/fakethr.h b/fakethr.h index 8f0def4..7c82aa6 100644 --- a/fakethr.h +++ b/fakethr.h @@ -63,3 +63,13 @@ struct thread_intern { #define THREAD_POST_CREATE(t) NOOP #define YIELD NOOP + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/handy.h b/handy.h index 332d85c..255c149 100644 --- a/handy.h +++ b/handy.h @@ -850,3 +850,12 @@ Malloc_t Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int li #define pTHX__VALUE #endif /* USE_ITHREADS */ +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/iperlsys.h b/iperlsys.h index f3aa64d..f1f5c46 100644 --- a/iperlsys.h +++ b/iperlsys.h @@ -1409,3 +1409,12 @@ struct IPerlSockInfo #endif /* __Inc__IPerl___ */ +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/mg.h b/mg.h index 3c37555..fffc2dc 100644 --- a/mg.h +++ b/mg.h @@ -60,3 +60,13 @@ struct magic { #define SvTIED_mg(sv,how) (SvRMAGICAL(sv) ? mg_find((sv),(how)) : NULL) #define SvTIED_obj(sv,mg) \ ((mg)->mg_obj ? (mg)->mg_obj : sv_2mortal(newRV(sv))) + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/nostdio.h b/nostdio.h index d1d7374..f6a13b4 100644 --- a/nostdio.h +++ b/nostdio.h @@ -124,3 +124,13 @@ struct _FILE; #ifndef OS2 #define pclose(f) _CANNOT _pclose_ #endif + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/pad.h b/pad.h index cc96ddc..5efffcb 100644 --- a/pad.h +++ b/pad.h @@ -345,3 +345,13 @@ Clone the state variables associated with running and compiling pads. PL_padix_floor = proto_perl->Ipadix_floor; \ PL_pad_reset_pending = proto_perl->Ipad_reset_pending; \ PL_cop_seqmax = proto_perl->Icop_seqmax; + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/parser.h b/parser.h index 3cb3135..74d8ef2 100644 --- a/parser.h +++ b/parser.h @@ -106,5 +106,13 @@ typedef struct yy_parser { char tokenbuf[256]; } yy_parser; - +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/perl.h b/perl.h index 48c7ab2..95702e1 100644 --- a/perl.h +++ b/perl.h @@ -5945,3 +5945,13 @@ extern void moncontrol(int); */ #endif /* Include guard */ + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/perlio.h b/perlio.h index ea7124a..a6902d4 100644 --- a/perlio.h +++ b/perlio.h @@ -382,3 +382,13 @@ typedef struct PerlIO_list_s PerlIO_list_t; END_EXTERN_C #endif /* _PERLIO_H */ + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/perliol.h b/perliol.h index 756db2d..9a08d81 100644 --- a/perliol.h +++ b/perliol.h @@ -285,3 +285,13 @@ PERL_EXPORT_C SSize_t PerlIOUnix_write(pTHX_ PerlIO *f, const void *vbuf, Size PERL_EXPORT_C IV PerlIOUtf8_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab); #endif /* _PERLIOL_H */ + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/perlsdio.h b/perlsdio.h index ffed135..c1f823e 100644 --- a/perlsdio.h +++ b/perlsdio.h @@ -152,3 +152,13 @@ #endif /* NETWARE */ #endif /* PERLIO_IS_STDIO */ + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/perlsfio.h b/perlsfio.h index d4b097f..2471753 100644 --- a/perlsfio.h +++ b/perlsfio.h @@ -73,4 +73,12 @@ extern int _stdprintf _ARG_((const char*, ...)); #define PerlIO_get_base(f) ((f)->data) #define PerlIO_get_bufsiz(f) ((f)->endr - (f)->data) - +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/regcomp.h b/regcomp.h index 3785818..645e386 100644 --- a/regcomp.h +++ b/regcomp.h @@ -814,5 +814,12 @@ re.pm, especially to the documentation. #endif /* DEBUG RELATED DEFINES */ - - +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/scope.h b/scope.h index 42d1617..606fbc2 100644 --- a/scope.h +++ b/scope.h @@ -260,3 +260,12 @@ Closing bracket on a callback. See C and L. #define SSPTR(off,type) ((type) ((char*)PL_savestack + off)) #define SSPTRt(off,type) ((type*) ((char*)PL_savestack + off)) +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/thread.h b/thread.h index 7ff71fa..655e827 100644 --- a/thread.h +++ b/thread.h @@ -472,3 +472,13 @@ #ifndef INIT_THREADS # define INIT_THREADS NOOP #endif + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/unixish.h b/unixish.h index 6a83349..6ad95c2 100644 --- a/unixish.h +++ b/unixish.h @@ -145,3 +145,12 @@ #define USE_ENVIRON_ARRAY #endif +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/utf8.h b/utf8.h index c8da31e..e8efd14 100644 --- a/utf8.h +++ b/utf8.h @@ -340,3 +340,13 @@ encoded character. #define IS_UTF8_CHAR_FAST(n) ((n) <= 4) #endif /* IS_UTF8_CHAR() for UTF-8 */ + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/utfebcdic.h b/utfebcdic.h index 74846b3..8659b19 100644 --- a/utfebcdic.h +++ b/utfebcdic.h @@ -418,4 +418,12 @@ END_EXTERN_C #define UTF8_EIGHT_BIT_HI(c) UTF_TO_NATIVE((((U8)(c))>>UTF_ACCUMULATION_SHIFT)|UTF_START_MARK(2)) #define UTF8_EIGHT_BIT_LO(c) UTF_TO_NATIVE(((((U8)(c)))&UTF_CONTINUATION_MASK)|UTF_CONTINUATION_MARK) - +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */ diff --git a/util.h b/util.h index fa81e8a..db91c18 100644 --- a/util.h +++ b/util.h @@ -41,3 +41,13 @@ # endif /* NETWARE */ # endif /* WIN32 */ #endif /* VMS */ + +/* + * Local variables: + * c-indentation-style: bsd + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * + * ex: set ts=8 sts=4 sw=4 noet: + */