提交 ab4514d1 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix indenting

上级 3947d443
...@@ -461,3 +461,14 @@ const char *mpool_strerror(const int error); ...@@ -461,3 +461,14 @@ const char *mpool_strerror(const int error);
/*<<<<<<<<<< This is end of the auto-generated output from fillproto. */ /*<<<<<<<<<< This is end of the auto-generated output from fillproto. */
#endif /* ! __MPOOL_H__ */ #endif /* ! __MPOOL_H__ */
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:t
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
*/
...@@ -227,3 +227,15 @@ static error_str_t errors[] = { ...@@ -227,3 +227,15 @@ static error_str_t errors[] = {
#define INVALID_ERROR "invalid error code" #define INVALID_ERROR "invalid error code"
#endif /* ! __TABLE_LOC_H__ */ #endif /* ! __TABLE_LOC_H__ */
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:t
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
*/
...@@ -1766,3 +1766,15 @@ const char *mpool_strerror(const int error) ...@@ -1766,3 +1766,15 @@ const char *mpool_strerror(const int error)
return "invalid error code"; return "invalid error code";
} }
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:t
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
*/
...@@ -26,12 +26,12 @@ ...@@ -26,12 +26,12 @@
#include <errno.h> /* for setting errno */ #include <errno.h> /* for setting errno */
#include <sys/types.h> #include <sys/types.h>
#ifndef _WIN32 #ifndef _WIN32
/* not in Windows! */ /* not in Windows! */
# include <unistd.h> # include <unistd.h>
# include <stdint.h> # include <stdint.h>
#endif #endif
#ifndef SIMCLIST_NO_DUMPRESTORE #ifndef SIMCLIST_NO_DUMPRESTORE
/* includes for dump/restore */ /* includes for dump/restore */
# include <time.h> # include <time.h>
# include <sys/uio.h> /* for READ_ERRCHECK() and write() */ # include <sys/uio.h> /* for READ_ERRCHECK() and write() */
# include <fcntl.h> /* for open() etc */ # include <fcntl.h> /* for open() etc */
...@@ -100,7 +100,7 @@ typedef INT64 int64_t; ...@@ -100,7 +100,7 @@ typedef INT64 int64_t;
} while (0); } while (0);
/* convert 64bit integers from host to network format */ /* convert 64bit integers from host to network format */
#define hton64(x) (\ #define hton64(x) ( \
htons(1) == 1 ? \ htons(1) == 1 ? \
(uint64_t)x /* big endian */ \ (uint64_t)x /* big endian */ \
: /* little endian */ \ : /* little endian */ \
...@@ -1523,3 +1523,13 @@ static int list_attrOk(const list_t *restrict l) { ...@@ -1523,3 +1523,13 @@ static int list_attrOk(const list_t *restrict l) {
#endif #endif
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:t
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
*/
...@@ -627,7 +627,7 @@ static int external_compare(const void *p1, const void *p2, ...@@ -627,7 +627,7 @@ static int external_compare(const void *p1, const void *p2,
* *
* err_bp - Pointer to an integer which will be set with 1 if an error * err_bp - Pointer to an integer which will be set with 1 if an error
* has occurred. It cannot be NULL. * has occurred. It cannot be NULL.
*/ */
static int external_compare_pos(const void *p1, const void *p2, static int external_compare_pos(const void *p1, const void *p2,
table_compare_t user_compare, table_compare_t user_compare,
const table_t *table_p, int *err_bp) const table_t *table_p, int *err_bp)
...@@ -4077,3 +4077,14 @@ const char *table_strerror(const int error) ...@@ -4077,3 +4077,14 @@ const char *table_strerror(const int error)
return INVALID_ERROR; return INVALID_ERROR;
} }
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:t
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
*/
...@@ -293,3 +293,14 @@ int main(int argc, char **argv) ...@@ -293,3 +293,14 @@ int main(int argc, char **argv)
exit(0); exit(0);
} }
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:t
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
*/
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论