Add editor blocks to some header files.
Marcus Holland-Moritz [Tue, 1 Jan 2008 17:18:13 +0000 (17:18 +0000)]
p4raw-id: //depot/perl@32793

21 files changed:
dosish.h
fakesdio.h
fakethr.h
handy.h
iperlsys.h
mg.h
nostdio.h
pad.h
parser.h
perl.h
perlio.h
perliol.h
perlsdio.h
perlsfio.h
regcomp.h
scope.h
thread.h
unixish.h
utf8.h
utfebcdic.h
util.h

index c939127..0981137 100644 (file)
--- a/dosish.h
+++ b/dosish.h
 
 /* 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:
+ */
index 41d243b..6144380 100644 (file)
 #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:
+ */
index 8f0def4..7c82aa6 100644 (file)
--- 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 (file)
--- 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:
+ */
index f3aa64d..f1f5c46 100644 (file)
@@ -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 (file)
--- 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:
+ */
index d1d7374..f6a13b4 100644 (file)
--- 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 (file)
--- 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:
+ */
index 3cb3135..74d8ef2 100644 (file)
--- 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 (file)
--- 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:
+ */
index ea7124a..a6902d4 100644 (file)
--- 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:
+ */
index 756db2d..9a08d81 100644 (file)
--- 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:
+ */
index ffed135..c1f823e 100644 (file)
 
 #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:
+ */
index d4b097f..2471753 100644 (file)
@@ -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:
+ */
index 3785818..645e386 100644 (file)
--- 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 (file)
--- a/scope.h
+++ b/scope.h
@@ -260,3 +260,12 @@ Closing bracket on a callback.  See C<ENTER> and L<perlcall>.
 #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:
+ */
index 7ff71fa..655e827 100644 (file)
--- a/thread.h
+++ b/thread.h
 #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:
+ */
index 6a83349..6ad95c2 100644 (file)
--- a/unixish.h
+++ b/unixish.h
 #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 (file)
--- 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:
+ */
index 74846b3..8659b19 100644 (file)
@@ -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 (file)
--- a/util.h
+++ b/util.h
 #   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:
+ */