From: J. Eric Ivancich Date: Tue, 11 Dec 2018 16:43:05 +0000 (-0500) Subject: rgw: clean-up -- insure C++ source code files contain editor directives X-Git-Tag: v14.1.0~650^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cac57e647edc8d51b996eaf658a98a488517604e;p=ceph.git rgw: clean-up -- insure C++ source code files contain editor directives Most, although not all, source code files have a comment on the first two lines describing the C++ formatting conventions used. This commit adds that directive to the files lacking it. Also, vertical whitespace was made more consistent. Note: this only touches files specifically for RGW. Signed-off-by: J. Eric Ivancich --- diff --git a/src/cls/rgw/cls_rgw_client.cc b/src/cls/rgw/cls_rgw_client.cc index c5caea600653..b074fa409716 100644 --- a/src/cls/rgw/cls_rgw_client.cc +++ b/src/cls/rgw/cls_rgw_client.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #include #include "cls/rgw/cls_rgw_const.h" diff --git a/src/cls/rgw/cls_rgw_ops.cc b/src/cls/rgw/cls_rgw_ops.cc index 82ad868bfa7f..53eb55e32d84 100644 --- a/src/cls/rgw/cls_rgw_ops.cc +++ b/src/cls/rgw/cls_rgw_ops.cc @@ -1,3 +1,5 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab #include "cls/rgw/cls_rgw_ops.h" diff --git a/src/cls/rgw/cls_rgw_types.cc b/src/cls/rgw/cls_rgw_types.cc index 432e6a882b66..e11cf2e5b2d6 100644 --- a/src/cls/rgw/cls_rgw_types.cc +++ b/src/cls/rgw/cls_rgw_types.cc @@ -1,3 +1,5 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab #include "cls/rgw/cls_rgw_types.h" #include "common/ceph_json.h" diff --git a/src/rgw/librgw.cc b/src/rgw/librgw.cc index 563e798adeb7..f62f75d2a5d6 100644 --- a/src/rgw/librgw.cc +++ b/src/rgw/librgw.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include "include/compat.h" #include #include diff --git a/src/rgw/librgw_admin_user.cc b/src/rgw/librgw_admin_user.cc index 2cdccc34c557..928f04cb3294 100644 --- a/src/rgw/librgw_admin_user.cc +++ b/src/rgw/librgw_admin_user.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * create rgw admin user * diff --git a/src/rgw/rgw_admin_user.cc b/src/rgw/rgw_admin_user.cc index 6cf13d44119c..615c6b316044 100644 --- a/src/rgw/rgw_admin_user.cc +++ b/src/rgw/rgw_admin_user.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "include/rgw/librgw_admin_user.h" #include "rgw_admin_user.h" #include "rgw_user.h" diff --git a/src/rgw/rgw_admin_user.h b/src/rgw/rgw_admin_user.h index b8d6ee57024d..68f8167f1fdb 100644 --- a/src/rgw/rgw_admin_user.h +++ b/src/rgw/rgw_admin_user.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * create rgw admin user * diff --git a/src/rgw/rgw_aio.h b/src/rgw/rgw_aio.h index 53d91ca3833b..3e5f0e774cfa 100644 --- a/src/rgw/rgw_aio.h +++ b/src/rgw/rgw_aio.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_aio_throttle.cc b/src/rgw/rgw_aio_throttle.cc index 7513e04e9461..1ac1be259d3e 100644 --- a/src/rgw/rgw_aio_throttle.cc +++ b/src/rgw/rgw_aio_throttle.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_aio_throttle.h b/src/rgw/rgw_aio_throttle.h index 97dea4bea0e9..954b8865fb4e 100644 --- a/src/rgw/rgw_aio_throttle.h +++ b/src/rgw/rgw_aio_throttle.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_asio_client.h b/src/rgw/rgw_asio_client.h index d9a3c52ba091..e99c3f7cdda0 100644 --- a/src/rgw/rgw_asio_client.h +++ b/src/rgw/rgw_asio_client.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef RGW_ASIO_CLIENT_H #define RGW_ASIO_CLIENT_H diff --git a/src/rgw/rgw_basic_types.cc b/src/rgw/rgw_basic_types.cc index 55e744e6faea..b4ac14a7d2e7 100644 --- a/src/rgw/rgw_basic_types.cc +++ b/src/rgw/rgw_basic_types.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_basic_types.h b/src/rgw/rgw_basic_types.h index 21e7a81ba933..772aecfa55c0 100644 --- a/src/rgw/rgw_basic_types.h +++ b/src/rgw/rgw_basic_types.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_BASIC_TYPES_H #define CEPH_RGW_BASIC_TYPES_H diff --git a/src/rgw/rgw_civetweb_log.cc b/src/rgw/rgw_civetweb_log.cc index 2c2e9ccfdd35..d8a894530589 100644 --- a/src/rgw/rgw_civetweb_log.cc +++ b/src/rgw/rgw_civetweb_log.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "common/config.h" #include "rgw_common.h" diff --git a/src/rgw/rgw_civetweb_log.h b/src/rgw/rgw_civetweb_log.h index 0fc227a54685..2fbd517cc765 100644 --- a/src/rgw/rgw_civetweb_log.h +++ b/src/rgw/rgw_civetweb_log.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_CIVETWEB_LOG_H #define CEPH_RGW_CIVETWEB_LOG_H diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index d0fdd6bfdf33..fd530ad5e672 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_compression.cc b/src/rgw/rgw_compression.cc index 6e2be182bf00..b1acb9813d92 100644 --- a/src/rgw/rgw_compression.cc +++ b/src/rgw/rgw_compression.cc @@ -1,4 +1,3 @@ - // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab diff --git a/src/rgw/rgw_coroutine.cc b/src/rgw/rgw_coroutine.cc index d756cfd52a7f..a8186db93356 100644 --- a/src/rgw/rgw_coroutine.cc +++ b/src/rgw/rgw_coroutine.cc @@ -1,3 +1,5 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab #include "common/ceph_json.h" #include "rgw_coroutine.h" diff --git a/src/rgw/rgw_cors.cc b/src/rgw/rgw_cors.cc index f99abaad8f08..07dbab5d3e27 100644 --- a/src/rgw/rgw_cors.cc +++ b/src/rgw/rgw_cors.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include #include diff --git a/src/rgw/rgw_cors.h b/src/rgw/rgw_cors.h index 892cda787ce4..62e34d45c0f9 100644 --- a/src/rgw/rgw_cors.h +++ b/src/rgw/rgw_cors.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_cors_s3.cc b/src/rgw/rgw_cors_s3.cc index 67e8e83c6521..fe7bd438f150 100644 --- a/src/rgw/rgw_cors_s3.cc +++ b/src/rgw/rgw_cors_s3.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include #include diff --git a/src/rgw/rgw_cors_s3.h b/src/rgw/rgw_cors_s3.h index 1e60e651512f..9097e5f1b540 100644 --- a/src/rgw/rgw_cors_s3.h +++ b/src/rgw/rgw_cors_s3.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_cors_swift.h b/src/rgw/rgw_cors_swift.h index d2516dd03570..da5a2afc2e57 100644 --- a/src/rgw/rgw_cors_swift.h +++ b/src/rgw/rgw_cors_swift.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_cr_rados.cc b/src/rgw/rgw_cr_rados.cc index 4fa3499f2e29..0fc0d8a20202 100644 --- a/src/rgw/rgw_cr_rados.cc +++ b/src/rgw/rgw_cr_rados.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_rados.h" #include "rgw_zone.h" #include "rgw_coroutine.h" diff --git a/src/rgw/rgw_cr_rados.h b/src/rgw/rgw_cr_rados.h index b6789483b77b..37eeb2d34e00 100644 --- a/src/rgw/rgw_cr_rados.h +++ b/src/rgw/rgw_cr_rados.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_CR_RADOS_H #define CEPH_RGW_CR_RADOS_H diff --git a/src/rgw/rgw_cr_rest.cc b/src/rgw/rgw_cr_rest.cc index 15465534e799..6a5e38a23184 100644 --- a/src/rgw/rgw_cr_rest.cc +++ b/src/rgw/rgw_cr_rest.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_cr_rest.h" #include "rgw_coroutine.h" diff --git a/src/rgw/rgw_cr_rest.h b/src/rgw/rgw_cr_rest.h index 94ce0f072bc6..f53d972f3fe4 100644 --- a/src/rgw/rgw_cr_rest.h +++ b/src/rgw/rgw_cr_rest.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_CR_REST_H #define CEPH_RGW_CR_REST_H diff --git a/src/rgw/rgw_crypt.cc b/src/rgw/rgw_crypt.cc index 915c81e34f25..c50a8c0d66bc 100644 --- a/src/rgw/rgw_crypt.cc +++ b/src/rgw/rgw_crypt.cc @@ -1,8 +1,10 @@ // -*- mode:C; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /** * Crypto filters for Put/Post/Get operations. */ + #include #include #include diff --git a/src/rgw/rgw_crypt.h b/src/rgw/rgw_crypt.h index 1cc379c74e70..9ac6dd1484c8 100644 --- a/src/rgw/rgw_crypt.h +++ b/src/rgw/rgw_crypt.h @@ -1,8 +1,10 @@ // -*- mode:C; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /** * Crypto filters for Put/Post/Get operations. */ + #ifndef CEPH_RGW_CRYPT_H #define CEPH_RGW_CRYPT_H diff --git a/src/rgw/rgw_crypt_sanitize.cc b/src/rgw/rgw_crypt_sanitize.cc index ab345bcbd1bc..776f137609ce 100644 --- a/src/rgw/rgw_crypt_sanitize.cc +++ b/src/rgw/rgw_crypt_sanitize.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + /* * rgw_crypt_sanitize.cc * diff --git a/src/rgw/rgw_data_sync.h b/src/rgw/rgw_data_sync.h index a31307acc9cf..37f020e39c5a 100644 --- a/src/rgw/rgw_data_sync.h +++ b/src/rgw/rgw_data_sync.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_DATA_SYNC_H #define CEPH_RGW_DATA_SYNC_H diff --git a/src/rgw/rgw_es_main.cc b/src/rgw/rgw_es_main.cc index cd6d54a674c2..5983dd915c11 100644 --- a/src/rgw/rgw_es_main.cc +++ b/src/rgw/rgw_es_main.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_es_query.cc b/src/rgw/rgw_es_query.cc index 03676a171f70..8fccca05d9c8 100644 --- a/src/rgw/rgw_es_query.cc +++ b/src/rgw/rgw_es_query.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_es_query.h b/src/rgw/rgw_es_query.h index 5b2702006c19..b8421f4d4996 100644 --- a/src/rgw/rgw_es_query.h +++ b/src/rgw/rgw_es_query.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_ES_QUERY_H #define CEPH_RGW_ES_QUERY_H diff --git a/src/rgw/rgw_formats.cc b/src/rgw/rgw_formats.cc index 4c207078844d..f8abf72f7c4f 100644 --- a/src/rgw/rgw_formats.cc +++ b/src/rgw/rgw_formats.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_http_client_curl.h b/src/rgw/rgw_http_client_curl.h index aad61950e9ec..d9080f443f3e 100644 --- a/src/rgw/rgw_http_client_curl.h +++ b/src/rgw/rgw_http_client_curl.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #ifndef RGW_HTTP_CLIENT_CURL_H #define RGW_HTTP_CLIENT_CURL_H diff --git a/src/rgw/rgw_lc.h b/src/rgw/rgw_lc.h index 21a00e5b7f69..aa398ea6e9b8 100644 --- a/src/rgw/rgw_lc.h +++ b/src/rgw/rgw_lc.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_LC_H #define CEPH_RGW_LC_H diff --git a/src/rgw/rgw_lc_s3.cc b/src/rgw/rgw_lc_s3.cc index 7e7b043e92b8..8663b445d08e 100644 --- a/src/rgw/rgw_lc_s3.cc +++ b/src/rgw/rgw_lc_s3.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include diff --git a/src/rgw/rgw_lc_s3.h b/src/rgw/rgw_lc_s3.h index ea390a29e9cd..d344fd2987d7 100644 --- a/src/rgw/rgw_lc_s3.h +++ b/src/rgw/rgw_lc_s3.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_LC_S3_H #define CEPH_RGW_LC_S3_H diff --git a/src/rgw/rgw_lib.h b/src/rgw/rgw_lib.h index 4b3ec267d1e1..ce5a27a00a38 100644 --- a/src/rgw/rgw_lib.h +++ b/src/rgw/rgw_lib.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef RGW_LIB_H #define RGW_LIB_H diff --git a/src/rgw/rgw_main.cc b/src/rgw/rgw_main.cc index 3aa9cd8bf3c5..f266f5a7feda 100644 --- a/src/rgw/rgw_main.cc +++ b/src/rgw/rgw_main.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #include "common/ceph_argparse.h" #include "global/global_init.h" #include "global/signal_handler.h" diff --git a/src/rgw/rgw_meta_sync_status.h b/src/rgw/rgw_meta_sync_status.h index 0fdc5cabaf10..a3174e3ed030 100644 --- a/src/rgw/rgw_meta_sync_status.h +++ b/src/rgw/rgw_meta_sync_status.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef RGW_META_SYNC_STATUS_H #define RGW_META_SYNC_STATUS_H diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index e7f4225de132..4fa0f0258388 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /** * All operations via the rados gateway are carried out by * small classes known as RGWOps. This class contains a req_state @@ -8,6 +9,7 @@ * These subclasses must be further subclassed (by interface type) * to provide additional virtual methods such as send_response or get_params. */ + #ifndef CEPH_RGW_OP_H #define CEPH_RGW_OP_H diff --git a/src/rgw/rgw_orphan.h b/src/rgw/rgw_orphan.h index f0f4b5136ff4..d8076faec9a0 100644 --- a/src/rgw/rgw_orphan.h +++ b/src/rgw/rgw_orphan.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_putobj.cc b/src/rgw/rgw_putobj.cc index cd4d4bf2fcdc..39410972d4c9 100644 --- a/src/rgw/rgw_putobj.cc +++ b/src/rgw/rgw_putobj.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_putobj.h b/src/rgw/rgw_putobj.h index 1e4058eadf8b..4d8114a3269c 100644 --- a/src/rgw/rgw_putobj.h +++ b/src/rgw/rgw_putobj.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_putobj_processor.cc b/src/rgw/rgw_putobj_processor.cc index 6877d0cfc3e9..361d51336275 100644 --- a/src/rgw/rgw_putobj_processor.cc +++ b/src/rgw/rgw_putobj_processor.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_putobj_processor.h b/src/rgw/rgw_putobj_processor.h index ba3c65896ef2..e1843cc36ccf 100644 --- a/src/rgw/rgw_putobj_processor.h +++ b/src/rgw/rgw_putobj_processor.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_quota.cc b/src/rgw/rgw_quota.cc index 05ef5f1ab502..052bc7a5be65 100644 --- a/src/rgw/rgw_quota.cc +++ b/src/rgw/rgw_quota.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_quota.h b/src/rgw/rgw_quota.h index 167bb17a8acb..a048aa7d8090 100644 --- a/src/rgw/rgw_quota.h +++ b/src/rgw/rgw_quota.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_rest_config.cc b/src/rgw/rgw_rest_config.cc index ef184776b198..e5b863d034b9 100644 --- a/src/rgw/rgw_rest_config.cc +++ b/src/rgw/rgw_rest_config.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include "common/ceph_json.h" #include "common/strtol.h" #include "rgw_rest.h" diff --git a/src/rgw/rgw_rest_config.h b/src/rgw/rgw_rest_config.h index d4539eb5eaee..56ca129b0aaf 100644 --- a/src/rgw/rgw_rest_config.h +++ b/src/rgw/rgw_rest_config.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_rest_log.cc b/src/rgw/rgw_rest_log.cc index 6fece1d6af44..6daeca16dfee 100644 --- a/src/rgw/rgw_rest_log.cc +++ b/src/rgw/rgw_rest_log.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include "common/ceph_json.h" #include "common/strtol.h" #include "rgw_rest.h" diff --git a/src/rgw/rgw_rest_log.h b/src/rgw/rgw_rest_log.h index 7b125035c73a..d5fbf814529a 100644 --- a/src/rgw/rgw_rest_log.h +++ b/src/rgw/rgw_rest_log.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_rest_metadata.cc b/src/rgw/rgw_rest_metadata.cc index ad1d26c08f86..0f81d54c9b88 100644 --- a/src/rgw/rgw_rest_metadata.cc +++ b/src/rgw/rgw_rest_metadata.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #include "include/page.h" #include "rgw_rest.h" diff --git a/src/rgw/rgw_rest_metadata.h b/src/rgw/rgw_rest_metadata.h index 712a7e2d5a1d..728813c7329b 100644 --- a/src/rgw/rgw_rest_metadata.h +++ b/src/rgw/rgw_rest_metadata.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_rest_role.cc b/src/rgw/rgw_rest_role.cc index 7df943d11785..7c36a0325388 100644 --- a/src/rgw/rgw_rest_role.cc +++ b/src/rgw/rgw_rest_role.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #include #include "common/errno.h" diff --git a/src/rgw/rgw_rest_role.h b/src/rgw/rgw_rest_role.h index 3834c75cf5d3..24e6bba65ca9 100644 --- a/src/rgw/rgw_rest_role.h +++ b/src/rgw/rgw_rest_role.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_REST_ROLE_H #define CEPH_RGW_REST_ROLE_H diff --git a/src/rgw/rgw_rest_s3website.h b/src/rgw/rgw_rest_s3website.h index fa6416ee5db3..209ef964615a 100644 --- a/src/rgw/rgw_rest_s3website.h +++ b/src/rgw/rgw_rest_s3website.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -11,6 +12,7 @@ * Foundation. See file COPYING. * */ + #ifndef CEPH_RGW_REST_S3WEBSITE_H #define CEPH_RGW_REST_S3WEBSITE_H diff --git a/src/rgw/rgw_rest_sts.cc b/src/rgw/rgw_rest_sts.cc index e8056814d854..90202cdcc4e5 100644 --- a/src/rgw/rgw_rest_sts.cc +++ b/src/rgw/rgw_rest_sts.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_rest_sts.h b/src/rgw/rgw_rest_sts.h index 8ecf3d9c6ef0..6721c398e2e1 100644 --- a/src/rgw/rgw_rest_sts.h +++ b/src/rgw/rgw_rest_sts.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_REST_STS_H #define CEPH_RGW_REST_STS_H diff --git a/src/rgw/rgw_rest_user_policy.cc b/src/rgw/rgw_rest_user_policy.cc index 59cfca7490d6..31323f34038b 100644 --- a/src/rgw/rgw_rest_user_policy.cc +++ b/src/rgw/rgw_rest_user_policy.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #include #include diff --git a/src/rgw/rgw_rest_user_policy.h b/src/rgw/rgw_rest_user_policy.h index d7f14a356a1c..895f4e61bd70 100644 --- a/src/rgw/rgw_rest_user_policy.h +++ b/src/rgw/rgw_rest_user_policy.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_REST_USER_POLICY_H #define CEPH_RGW_REST_USER_POLICY_H diff --git a/src/rgw/rgw_role.cc b/src/rgw/rgw_role.cc index b52000d78952..9a7e3735ae6b 100644 --- a/src/rgw/rgw_role.cc +++ b/src/rgw/rgw_role.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_role.h b/src/rgw/rgw_role.h index d9d960d8b9f2..90976099acb6 100644 --- a/src/rgw/rgw_role.h +++ b/src/rgw/rgw_role.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_ROLE_H #define CEPH_RGW_ROLE_H diff --git a/src/rgw/rgw_service.cc b/src/rgw/rgw_service.cc index 83aa4f393207..0369806c0d92 100644 --- a/src/rgw/rgw_service.cc +++ b/src/rgw/rgw_service.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_service.h" #include "services/svc_finisher.h" diff --git a/src/rgw/rgw_service.h b/src/rgw/rgw_service.h index a9558df74ac4..316bacdb6cad 100644 --- a/src/rgw/rgw_service.h +++ b/src/rgw/rgw_service.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SERVICE_H #define CEPH_RGW_SERVICE_H diff --git a/src/rgw/rgw_sts.cc b/src/rgw/rgw_sts.cc index 3abae7f3343d..0c0d02d5dad5 100644 --- a/src/rgw/rgw_sts.cc +++ b/src/rgw/rgw_sts.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include @@ -343,4 +346,4 @@ GetSessionTokenResponse STSService::getSessionToken(GetSessionTokenRequest& req) return make_tuple(0, cred); } -} \ No newline at end of file +} diff --git a/src/rgw/rgw_sts.h b/src/rgw/rgw_sts.h index 5a82faa532d3..2c46b64e49e1 100644 --- a/src/rgw/rgw_sts.h +++ b/src/rgw/rgw_sts.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_STS_H #define CEPH_RGW_STS_H diff --git a/src/rgw/rgw_sync.h b/src/rgw/rgw_sync.h index 78a6e8346f67..7774e164522a 100644 --- a/src/rgw/rgw_sync.h +++ b/src/rgw/rgw_sync.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_H #define CEPH_RGW_SYNC_H diff --git a/src/rgw/rgw_sync_log_trim.cc b/src/rgw/rgw_sync_log_trim.cc index 5c60a2dc05d1..cae02600477f 100644 --- a/src/rgw/rgw_sync_log_trim.cc +++ b/src/rgw/rgw_sync_log_trim.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_sync_log_trim.h b/src/rgw/rgw_sync_log_trim.h index 3c9023cf72b4..13d1f63a1cf4 100644 --- a/src/rgw/rgw_sync_log_trim.h +++ b/src/rgw/rgw_sync_log_trim.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_sync_module.cc b/src/rgw/rgw_sync_module.cc index 196f98541e94..88248c321014 100644 --- a/src/rgw/rgw_sync_module.cc +++ b/src/rgw/rgw_sync_module.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_cr_rados.h" diff --git a/src/rgw/rgw_sync_module.h b/src/rgw/rgw_sync_module.h index 88cb68c47680..dcb798514777 100644 --- a/src/rgw/rgw_sync_module.h +++ b/src/rgw/rgw_sync_module.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_MODULE_H #define CEPH_RGW_SYNC_MODULE_H diff --git a/src/rgw/rgw_sync_module_aws.cc b/src/rgw/rgw_sync_module_aws.cc index a9c0d5d9ee32..28a7fdf8b21b 100644 --- a/src/rgw/rgw_sync_module_aws.cc +++ b/src/rgw/rgw_sync_module_aws.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "common/errno.h" #include "rgw_common.h" diff --git a/src/rgw/rgw_sync_module_aws.h b/src/rgw/rgw_sync_module_aws.h index 334f466277d6..a44202b5b55f 100644 --- a/src/rgw/rgw_sync_module_aws.h +++ b/src/rgw/rgw_sync_module_aws.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef RGW_SYNC_MODULE_AWS_H #define RGW_SYNC_MODULE_AWS_H diff --git a/src/rgw/rgw_sync_module_es.cc b/src/rgw/rgw_sync_module_es.cc index b01f98f011de..3ee21211270a 100644 --- a/src/rgw/rgw_sync_module_es.cc +++ b/src/rgw/rgw_sync_module_es.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_sync_module.h" diff --git a/src/rgw/rgw_sync_module_es.h b/src/rgw/rgw_sync_module_es.h index 7dcda39cbf72..2e78216a2ce6 100644 --- a/src/rgw/rgw_sync_module_es.h +++ b/src/rgw/rgw_sync_module_es.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_MODULE_ES_H #define CEPH_RGW_SYNC_MODULE_ES_H diff --git a/src/rgw/rgw_sync_module_es_rest.cc b/src/rgw/rgw_sync_module_es_rest.cc index ee97e473f88e..ef4841d94b84 100644 --- a/src/rgw/rgw_sync_module_es_rest.cc +++ b/src/rgw/rgw_sync_module_es_rest.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_sync_module_es.h" #include "rgw_sync_module_es_rest.h" #include "rgw_es_query.h" diff --git a/src/rgw/rgw_sync_module_es_rest.h b/src/rgw/rgw_sync_module_es_rest.h index 4dd0698f2351..b31b8e2cc211 100644 --- a/src/rgw/rgw_sync_module_es_rest.h +++ b/src/rgw/rgw_sync_module_es_rest.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_MODULE_ES_REST_H #define CEPH_RGW_SYNC_MODULE_ES_REST_H diff --git a/src/rgw/rgw_sync_module_log.cc b/src/rgw/rgw_sync_module_log.cc index 4a64add072b6..2b893aadfd5a 100644 --- a/src/rgw/rgw_sync_module_log.cc +++ b/src/rgw/rgw_sync_module_log.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "rgw_common.h" #include "rgw_coroutine.h" #include "rgw_cr_rados.h" diff --git a/src/rgw/rgw_sync_module_log.h b/src/rgw/rgw_sync_module_log.h index d64fb9d826de..d0059e328e6d 100644 --- a/src/rgw/rgw_sync_module_log.h +++ b/src/rgw/rgw_sync_module_log.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_MODULE_LOG_H #define CEPH_RGW_SYNC_MODULE_LOG_H diff --git a/src/rgw/rgw_sync_trace.cc b/src/rgw/rgw_sync_trace.cc index 1566ff4c8b03..34aa00e939d1 100644 --- a/src/rgw/rgw_sync_trace.cc +++ b/src/rgw/rgw_sync_trace.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_TRACE_H #define CEPH_RGW_SYNC_TRACE_H diff --git a/src/rgw/rgw_sync_trace.h b/src/rgw/rgw_sync_trace.h index 2a372f3a34fc..d2925cf18a55 100644 --- a/src/rgw/rgw_sync_trace.h +++ b/src/rgw/rgw_sync_trace.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_SYNC_LOG_H #define CEPH_RGW_SYNC_LOG_H diff --git a/src/rgw/rgw_tag.cc b/src/rgw/rgw_tag.cc index 6cfbb1aa3f80..f793c0ab8b1a 100644 --- a/src/rgw/rgw_tag.cc +++ b/src/rgw/rgw_tag.cc @@ -1,3 +1,5 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab #include #include diff --git a/src/rgw/rgw_tag.h b/src/rgw/rgw_tag.h index 6c8467deef02..fe8bbc348593 100644 --- a/src/rgw/rgw_tag.h +++ b/src/rgw/rgw_tag.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef RGW_TAG_H #define RGW_TAG_H diff --git a/src/rgw/rgw_tag_s3.cc b/src/rgw/rgw_tag_s3.cc index 9d6c8bb9e3a1..d9f52b7af857 100644 --- a/src/rgw/rgw_tag_s3.cc +++ b/src/rgw/rgw_tag_s3.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include #include diff --git a/src/rgw/rgw_token.cc b/src/rgw/rgw_token.cc index a626ec64e050..a5c6f76e455b 100644 --- a/src/rgw/rgw_token.cc +++ b/src/rgw/rgw_token.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_token.h b/src/rgw/rgw_token.h index d0496aedf598..8f50133d91c0 100644 --- a/src/rgw/rgw_token.h +++ b/src/rgw/rgw_token.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * diff --git a/src/rgw/rgw_torrent.cc b/src/rgw/rgw_torrent.cc index 35d8e47b25b4..7a4753e16c9e 100644 --- a/src/rgw/rgw_torrent.cc +++ b/src/rgw/rgw_torrent.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include #include diff --git a/src/rgw/rgw_torrent.h b/src/rgw/rgw_torrent.h index fd6a0d6ed588..c135323d076b 100644 --- a/src/rgw/rgw_torrent.h +++ b/src/rgw/rgw_torrent.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_TORRENT_H #define CEPH_RGW_TORRENT_H diff --git a/src/rgw/rgw_website.cc b/src/rgw/rgw_website.cc index 69599e60bdf7..a546b349fc73 100644 --- a/src/rgw/rgw_website.cc +++ b/src/rgw/rgw_website.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -12,6 +13,7 @@ * Foundation. See file COPYING. * */ + #include "common/debug.h" #include "common/ceph_json.h" diff --git a/src/rgw/rgw_website.h b/src/rgw/rgw_website.h index 7695345cb8c8..fb6a2d4d9468 100644 --- a/src/rgw/rgw_website.h +++ b/src/rgw/rgw_website.h @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -12,6 +13,7 @@ * Foundation. See file COPYING. * */ + #ifndef RGW_WEBSITE_H #define RGW_WEBSITE_H diff --git a/src/rgw/rgw_xml_enc.cc b/src/rgw/rgw_xml_enc.cc index ff64efca7223..44a9364b8028 100644 --- a/src/rgw/rgw_xml_enc.cc +++ b/src/rgw/rgw_xml_enc.cc @@ -1,5 +1,6 @@ // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab + /* * Ceph - scalable distributed file system * @@ -12,6 +13,7 @@ * Foundation. See file COPYING. * */ + #include "rgw_common.h" #include "rgw_xml.h" diff --git a/src/rgw/rgw_zone.cc b/src/rgw/rgw_zone.cc index 5366ebdb0fee..e8f0d452f4f4 100644 --- a/src/rgw/rgw_zone.cc +++ b/src/rgw/rgw_zone.cc @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #include "common/errno.h" #include "rgw_zone.h" diff --git a/src/rgw/rgw_zone.h b/src/rgw/rgw_zone.h index f982915382ce..5670825d3b1e 100644 --- a/src/rgw/rgw_zone.h +++ b/src/rgw/rgw_zone.h @@ -1,3 +1,6 @@ +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- +// vim: ts=8 sw=2 smarttab + #ifndef CEPH_RGW_ZONE_H #define CEPH_RGW_ZONE_H