This file now has a tab offset of 8. Replaced the tabs that assumed a tab
authorwtc%google.com
Sun, 27 Apr 2008 16:33:03 +0000
changeset 3946 6e54e2a91cefca81a2b425224f089640ed870753
parent 3945 2aca71f9f5b75d06a9a6432ce270c4ccfe5f7046
child 3947 cfbea84c1719a7ec702f6b74fe31f4a5264ac41a
push idunknown
push userunknown
push dateunknown
This file now has a tab offset of 8. Replaced the tabs that assumed a tab offset of 4 with spaces.
pr/include/md/_linux.h
--- a/pr/include/md/_linux.h
+++ b/pr/include/md/_linux.h
@@ -437,18 +437,18 @@ extern void _MD_CleanupBeforeExit(void);
 
 #define _MD_INIT_CONTEXT(_thread, _sp, _main, status)  \
 {  \
     *status = PR_TRUE;  \
     if (sigsetjmp(CONTEXT(_thread), 1)) {  \
         _main();  \
     }  \
     _MD_GET_SP(_thread) = (unsigned char*) ((_sp) - 128); \
-	_thread->md.sp = _MD_GET_SP_PTR(_thread); \
-	_thread->md.fp = _MD_GET_FP_PTR(_thread); \
+    _thread->md.sp = _MD_GET_SP_PTR(_thread); \
+    _thread->md.fp = _MD_GET_FP_PTR(_thread); \
     _MD_SET_FP(_thread, 0); \
 }
 
 #elif defined(__mips__)
 
 #define _MD_INIT_CONTEXT(_thread, _sp, _main, status)  \
 {  \
     *status = PR_TRUE;  \
@@ -464,18 +464,18 @@ extern void _MD_CleanupBeforeExit(void);
 
 #define _MD_INIT_CONTEXT(_thread, _sp, _main, status)  \
 {  \
     *status = PR_TRUE;  \
     if (sigsetjmp(CONTEXT(_thread), 1)) {  \
         _main();  \
     }  \
     _MD_GET_SP(_thread) = (_MD_SP_TYPE) ((_sp) - 64); \
-	_thread->md.sp = _MD_GET_SP_PTR(_thread); \
-	_thread->md.fp = _MD_GET_FP_PTR(_thread); \
+    _thread->md.sp = _MD_GET_SP_PTR(_thread); \
+    _thread->md.fp = _MD_GET_FP_PTR(_thread); \
     _MD_SET_FP(_thread, 0); \
 }
 
 #endif /*__powerpc__*/
 
 #define _MD_SWITCH_CONTEXT(_thread)  \
     if (!sigsetjmp(CONTEXT(_thread), 1)) {  \
 	(_thread)->md.errcode = errno;  \
@@ -491,18 +491,18 @@ extern void _MD_CleanupBeforeExit(void);
     _MD_SET_CURRENT_THREAD(_thread);  \
     siglongjmp(CONTEXT(_thread), 1);  \
 }
 
 /* Machine-dependent (MD) data structures */
 
 struct _MDThread {
     PR_CONTEXT_TYPE context;
-	void *sp;
-	void *fp;
+    void *sp;
+    void *fp;
     int id;
     int errcode;
 };
 
 struct _MDThreadStack {
     PRInt8 notused;
 };
 
@@ -531,20 +531,20 @@ struct _MDSegment {
 struct _MDCPU_Unix {
     PRCList ioQ;
     PRUint32 ioq_timeout;
     PRInt32 ioq_max_osfd;
     PRInt32 ioq_osfd_cnt;
 #ifndef _PR_USE_POLL
     fd_set fd_read_set, fd_write_set, fd_exception_set;
     PRInt16 fd_read_cnt[_PR_MD_MAX_OSFD],fd_write_cnt[_PR_MD_MAX_OSFD],
-				fd_exception_cnt[_PR_MD_MAX_OSFD];
+            fd_exception_cnt[_PR_MD_MAX_OSFD];
 #else
-	struct pollfd *ioq_pollfds;
-	int ioq_pollfds_size;
+    struct pollfd *ioq_pollfds;
+    int ioq_pollfds_size;
 #endif	/* _PR_USE_POLL */
 };
 
 #define _PR_IOQ(_cpu)			((_cpu)->md.md_unix.ioQ)
 #define _PR_ADD_TO_IOQ(_pq, _cpu) PR_APPEND_LINK(&_pq.links, &_PR_IOQ(_cpu))
 #define _PR_FD_READ_SET(_cpu)		((_cpu)->md.md_unix.fd_read_set)
 #define _PR_FD_READ_CNT(_cpu)		((_cpu)->md.md_unix.fd_read_cnt)
 #define _PR_FD_WRITE_SET(_cpu)		((_cpu)->md.md_unix.fd_write_set)
@@ -555,17 +555,17 @@ struct _MDCPU_Unix {
 #define _PR_IOQ_MAX_OSFD(_cpu)		((_cpu)->md.md_unix.ioq_max_osfd)
 #define _PR_IOQ_OSFD_CNT(_cpu)		((_cpu)->md.md_unix.ioq_osfd_cnt)
 #define _PR_IOQ_POLLFDS(_cpu)		((_cpu)->md.md_unix.ioq_pollfds)
 #define _PR_IOQ_POLLFDS_SIZE(_cpu)	((_cpu)->md.md_unix.ioq_pollfds_size)
 
 #define _PR_IOQ_MIN_POLLFDS_SIZE(_cpu)	32
 
 struct _MDCPU {
-	struct _MDCPU_Unix md_unix;
+    struct _MDCPU_Unix md_unix;
 };
 
 #define _MD_INIT_LOCKS()
 #define _MD_NEW_LOCK(lock) PR_SUCCESS
 #define _MD_FREE_LOCK(lock)
 #define _MD_LOCK(lock)
 #define _MD_UNLOCK(lock)
 #define _MD_INIT_IO()
@@ -595,17 +595,17 @@ extern void _MD_YIELD(void);
 
 #endif /* ! _PR_PTHREADS */
 
 extern void _MD_EarlyInit(void);
 extern PRIntervalTime _PR_UNIX_GetInterval(void);
 extern PRIntervalTime _PR_UNIX_TicksPerSecond(void);
 
 #define _MD_EARLY_INIT                  _MD_EarlyInit
-#define _MD_FINAL_INIT					_PR_UnixInit
+#define _MD_FINAL_INIT                  _PR_UnixInit
 #define _MD_GET_INTERVAL                _PR_UNIX_GetInterval
 #define _MD_INTERVAL_PER_SEC            _PR_UNIX_TicksPerSecond
 
 /*
  * We wrapped the select() call.  _MD_SELECT refers to the built-in,
  * unwrapped version.
  */
 #define _MD_SELECT __select