mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-14 21:20:58 +03:00
Remove vim modelines from all files
If you want modelines use my vim plugin: https://github.com/cryptomilk/git-modeline.vim git config --add vim.modeline "ts=4 sw=4 et" Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@ -115,4 +115,3 @@ ssh_string ssh_agent_sign_data(ssh_session session,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __AGENT_H */
|
#endif /* __AGENT_H */
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -152,5 +152,4 @@ struct ssh_cipher_struct {
|
|||||||
void (*cleanup)(struct ssh_cipher_struct *cipher);
|
void (*cleanup)(struct ssh_cipher_struct *cipher);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
#endif /* _CRYPTO_H_ */
|
#endif /* _CRYPTO_H_ */
|
||||||
|
@ -774,4 +774,3 @@ LIBSSH_API uint32_t ssh_buffer_get_len(ssh_buffer buffer);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif /* _LIBSSH_H */
|
#endif /* _LIBSSH_H */
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -43,4 +43,3 @@ int ssh_pcap_context_write(ssh_pcap_context,enum ssh_pcap_direction direction, v
|
|||||||
|
|
||||||
#endif /* WITH_PCAP */
|
#endif /* WITH_PCAP */
|
||||||
#endif /* PCAP_H_ */
|
#endif /* PCAP_H_ */
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -371,4 +371,3 @@ void explicit_bzero(void *s, size_t n);
|
|||||||
void ssh_agent_state_free(void *data);
|
void ssh_agent_state_free(void *data);
|
||||||
|
|
||||||
#endif /* _LIBSSH_PRIV_H */
|
#endif /* _LIBSSH_PRIV_H */
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -1023,4 +1023,3 @@ LIBSSH_API void sftp_handle_remove(sftp_session sftp, void *handle);
|
|||||||
#endif /* SFTP_H */
|
#endif /* SFTP_H */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -603,5 +603,3 @@ ssh_string ssh_agent_sign_data(ssh_session session,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -1832,5 +1832,3 @@ pending:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -233,4 +233,3 @@ pending:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif /* WITH_SSH1 */
|
#endif /* WITH_SSH1 */
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -288,5 +288,3 @@ unsigned char *bin_to_base64(const unsigned char *source, int len) {
|
|||||||
|
|
||||||
return base64;
|
return base64;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -1103,5 +1103,3 @@ int _ssh_buffer_unpack(struct ssh_buffer_struct *buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -3519,5 +3519,3 @@ error:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* @} */
|
/* @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -395,4 +395,3 @@ ssh_channel ssh_get_channel1(ssh_session session){
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif /* WITH_SSH1 */
|
#endif /* WITH_SSH1 */
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -765,5 +765,3 @@ const char *ssh_copyright(void) {
|
|||||||
"file for information about your rights";
|
"file for information about your rights";
|
||||||
}
|
}
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -537,5 +537,3 @@ out:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -91,5 +91,3 @@ uint32_t ssh_crc32(const char *buf, uint32_t len) {
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
2
src/dh.c
2
src/dh.c
@ -1272,5 +1272,3 @@ void ssh_print_hexa(const char *descr, const unsigned char *what, size_t len) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -137,5 +137,3 @@ int ssh_get_error_code(void *error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -100,4 +100,3 @@ char *ssh_gcry_bn2dec(bignum bn) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -284,5 +284,3 @@ int ssh_getpass(const char *prompt,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent syntax=c.doxygen: */
|
|
||||||
|
@ -217,5 +217,3 @@ int decompress_buffer(ssh_session session,ssh_buffer buf, size_t maxlen){
|
|||||||
ssh_buffer_free(dest);
|
ssh_buffer_free(dest);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -81,5 +81,3 @@ int ssh_finalize(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -793,5 +793,3 @@ char **ssh_knownhosts_algorithms(ssh_session session) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -240,5 +240,3 @@ int ssh_set_log_userdata(void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -187,5 +187,3 @@ static int match_pattern_list(const char *string, const char *pattern,
|
|||||||
int match_hostname(const char *host, const char *pattern, unsigned int len) {
|
int match_hostname(const char *host, const char *pattern, unsigned int len) {
|
||||||
return match_pattern_list(host, pattern, len, 1);
|
return match_pattern_list(host, pattern, len, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -1470,5 +1470,3 @@ error:
|
|||||||
#endif /* WITH_SERVER */
|
#endif /* WITH_SERVER */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -1089,5 +1089,3 @@ void explicit_bzero(void *s, size_t n)
|
|||||||
#endif /* !HAVE_EXPLICIT_BZERO */
|
#endif /* !HAVE_EXPLICIT_BZERO */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -1715,5 +1715,3 @@ int ssh_bind_options_set(ssh_bind sshbind, enum ssh_bind_options_e type,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -369,5 +369,3 @@ SSH_PACKET_CALLBACK(ssh_packet_smsg_failure1){
|
|||||||
|
|
||||||
|
|
||||||
#endif /* WITH_SSH1 */
|
#endif /* WITH_SSH1 */
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -509,5 +509,3 @@ int ssh_set_pcap_file(ssh_session session, ssh_pcap_file pcapfile){
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -2271,5 +2271,3 @@ ssh_signature pki_do_sign_sessionid(const ssh_key key,
|
|||||||
#endif /* WITH_SERVER */
|
#endif /* WITH_SERVER */
|
||||||
|
|
||||||
#endif /* HAVE_LIBGCRYPT */
|
#endif /* HAVE_LIBGCRYPT */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
* along with the SSH Library; see the file COPYING. If not, write to
|
* along with the SSH Library; see the file COPYING. If not, write to
|
||||||
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
||||||
* MA 02111-1307, USA.
|
* MA 02111-1307, USA.
|
||||||
*
|
|
||||||
* vim: ts=2 sw=2 et cindent
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -1044,5 +1042,3 @@ void ssh_event_free(ssh_event event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -833,5 +833,3 @@ const char *ssh_scp_request_get_warning(ssh_scp scp){
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -1255,5 +1255,3 @@ err:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -958,5 +958,3 @@ void ssh_set_counters(ssh_session session, ssh_counter scounter,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -515,5 +515,3 @@ void sftp_handle_remove(sftp_session sftp, void *handle) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -884,5 +884,3 @@ int ssh_socket_connect_proxycommand(ssh_socket s, const char *command){
|
|||||||
|
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -274,5 +274,3 @@ void ssh_string_free(struct ssh_string_struct *s) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent: */
|
|
||||||
|
@ -476,4 +476,3 @@ int crypt_set_algorithms_server(ssh_session session){
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif /* WITH_SERVER */
|
#endif /* WITH_SERVER */
|
||||||
/* vim: set ts=2 sw=2 et cindent: */
|
|
||||||
|
@ -839,5 +839,3 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
return torture_run_tests();
|
return torture_run_tests();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim: set ts=4 sw=4 et cindent syntax=c.doxygen: */
|
|
||||||
|
Reference in New Issue
Block a user