Fix the vim modlines.

This commit is contained in:
Andreas Schneider 2009-05-13 10:12:07 +02:00
parent 80de674a84
commit fdea54edc5
30 changed files with 30 additions and 65 deletions

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#include <fcntl.h> #include <fcntl.h>
@ -136,3 +134,4 @@ int csync_auth(const char *prompt, char *buf, size_t len, int echo, int verify,
return !ok; return !ok;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -243,3 +241,4 @@ out:
return rc; return rc;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,11 +16,10 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ft=c.doxygen ts=2 sw=2 et cindent
*/ */
#ifndef _CSYNC_X_H #ifndef _CSYNC_X_H
#define _CSYNC_X_H #define _CSYNC_X_H
#endif /* _CSYNC_X_H */ #endif /* _CSYNC_X_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program = NULL, if not, write to the Free Software Foundation, * along with this program = NULL, if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#include <errno.h> #include <errno.h>
@ -213,3 +211,4 @@ void vio_module_shutdown(csync_vio_method_t *method) {
(void) method; (void) method;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program = NULL, if not, write to the Free Software Foundation, * along with this program = NULL, if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -871,3 +869,4 @@ void vio_module_shutdown(csync_vio_method_t *method) {
ssh_finalize(); ssh_finalize();
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program = NULL, if not, write to the Free Software Foundation, * along with this program = NULL, if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -972,3 +970,4 @@ void vio_module_shutdown(csync_vio_method_t *method) {
} }
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program = NULL, if not, write to the Free Software Foundation, * along with this program = NULL, if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#include <errno.h> #include <errno.h>
@ -546,3 +544,4 @@ void vio_module_shutdown(csync_vio_method_t *method) {
} }
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -684,3 +682,4 @@ int csync_get_status(CSYNC *ctx) {
return ctx->status; return ctx->status;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
/** /**
@ -290,4 +288,4 @@ int csync_set_status(CSYNC *ctx, int status);
* }@ * }@
*/ */
#endif /* _CSYNC_H */ #endif /* _CSYNC_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#include <iniparser.h> #include <iniparser.h>
@ -75,3 +73,4 @@ int csync_config_load(CSYNC *ctx, const char *config) {
return 0; return 0;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ft=c.doxygen ts=2 sw=2 et cindent
*/ */
#ifndef _CSYNC_CONFIG_H #ifndef _CSYNC_CONFIG_H
@ -26,3 +24,4 @@
int csync_config_load(CSYNC *ctx, const char *config); int csync_config_load(CSYNC *ctx, const char *config);
#endif /* _CSYNC_X_H */ #endif /* _CSYNC_X_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#include <sys/types.h> #include <sys/types.h>
@ -139,3 +137,4 @@ int csync_excluded(CSYNC *ctx, const char *path) {
return 0; return 0;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ft=c.doxygen ts=2 sw=2 et cindent
*/ */
#ifndef _CSYNC_EXCLUDE_H #ifndef _CSYNC_EXCLUDE_H
@ -51,3 +49,4 @@ void csync_exclude_destroy(CSYNC *ctx);
int csync_excluded(CSYNC *ctx, const char *path); int csync_excluded(CSYNC *ctx, const char *path);
#endif /* _CSYNC_EXCLUDE_H */ #endif /* _CSYNC_EXCLUDE_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -179,3 +177,4 @@ void csync_lock_remove(const char *lockfile) {
} }
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _CSYNC_LOCK_H #ifndef _CSYNC_LOCK_H
@ -63,3 +61,4 @@ void csync_lock_remove(const char *lockfile);
* }@ * }@
*/ */
#endif /* _CSYNC_LOCK_H */ #endif /* _CSYNC_LOCK_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
/** /**
@ -170,4 +168,4 @@ static LOG4C_INLINE void csync_log(char *catName, int a_priority, const char* a_
* }@ * }@
*/ */
#endif /* _CSYNC_LOG_H */ #endif /* _CSYNC_LOG_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -17,8 +17,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _CSYNC_MACROS_H #ifndef _CSYNC_MACROS_H
@ -31,3 +29,4 @@
#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0]))
#endif /* _CSYNC_MACROS_H */ #endif /* _CSYNC_MACROS_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ft=c.doxygen ts=2 sw=2 et cindent
*/ */
/** /**
@ -173,4 +171,4 @@ typedef struct csync_file_stat_s {
* }@ * }@
*/ */
#endif /* _CSYNC_PRIVATE_H */ #endif /* _CSYNC_PRIVATE_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -865,3 +863,4 @@ int csync_propagate_files(CSYNC *ctx) {
return 0; return 0;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ft=c.doxygen ts=2 sw=2 et cindent
*/ */
#ifndef _CSYNC_PROPAGATE_H #ifndef _CSYNC_PROPAGATE_H
@ -31,3 +29,4 @@
int csync_propagate_files(CSYNC *ctx); int csync_propagate_files(CSYNC *ctx);
#endif /* _CSYNC_PROPAGATE_H */ #endif /* _CSYNC_PROPAGATE_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#include "csync_private.h" #include "csync_private.h"
@ -180,3 +178,4 @@ int csync_reconcile_updates(CSYNC *ctx) {
return 0; return 0;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ft=c.doxygen ts=2 sw=2 et cindent
*/ */
#ifndef _CSYNC_RECONCILE_H #ifndef _CSYNC_RECONCILE_H
@ -26,3 +24,4 @@
int csync_reconcile_updates(CSYNC *ctx); int csync_reconcile_updates(CSYNC *ctx);
#endif /* _CSYNC_RECONCILE_H */ #endif /* _CSYNC_RECONCILE_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -639,3 +637,4 @@ int csync_statedb_insert(CSYNC *ctx, const char *statement) {
return sqlite3_last_insert_rowid(ctx->statedb.db); return sqlite3_last_insert_rowid(ctx->statedb.db);
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ft=c.doxygen ts=2 sw=2 et cindent
*/ */
/** /**
@ -95,4 +93,4 @@ int csync_statedb_insert_metadata(CSYNC *ctx);
* }@ * }@
*/ */
#endif /* _CSYNC_STATEDB_H */ #endif /* _CSYNC_STATEDB_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -134,3 +132,4 @@ out:
return timediff; return timediff;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -324,3 +322,4 @@ error:
return -1; return -1;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ft=c.doxygen ts=2 sw=2 et cindent
*/ */
#ifndef _CSYNC_UPDATE_H #ifndef _CSYNC_UPDATE_H
@ -47,3 +45,4 @@ int csync_walker(CSYNC *ctx, const char *file, const csync_vio_file_stat_t *fs,
int csync_ftw(CSYNC *ctx, const char *uri, csync_walker_fn fn, unsigned int depth); int csync_ftw(CSYNC *ctx, const char *uri, csync_walker_fn fn, unsigned int depth);
#endif /* _CSYNC_UPDATE_H */ #endif /* _CSYNC_UPDATE_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
@ -321,3 +319,4 @@ uint64_t csync_create_statedb_hash(CSYNC *ctx) {
return hash; return hash;
} }
/* vim: set ts=8 sw=2 et cindent: */

View file

@ -16,8 +16,6 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, * along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* vim: ts=2 sw=2 et cindent
*/ */
#ifndef _CSYNC_UTIL_H #ifndef _CSYNC_UTIL_H
@ -39,3 +37,4 @@ int csync_unix_extensions(CSYNC *ctx);
uint64_t csync_create_statedb_hash(CSYNC *ctx); uint64_t csync_create_statedb_hash(CSYNC *ctx);
#endif /* _CSYNC_UTIL_H */ #endif /* _CSYNC_UTIL_H */
/* vim: set ft=c.doxygen ts=8 sw=2 et cindent: */