removed tabs and trailing whitespace from source

This commit is contained in:
Daniel Stenberg 2004-10-06 07:50:18 +00:00
parent 5c7dcc6c33
commit 39af394a1c
70 changed files with 2037 additions and 2041 deletions

View File

@ -20,6 +20,13 @@
)
"Curl C Programming Style")
(defun curl-code-cleanup ()
"no docs"
(interactive)
(untabify (point-min) (point-max))
(delete-trailing-whitespace)
)
;; Customizations for all of c-mode, c++-mode, and objc-mode
(defun curl-c-mode-common-hook ()
"Curl C mode hook"
@ -33,7 +40,7 @@
;; keybindings for C, C++, and Objective-C. We can put these in
;; c-mode-base-map because of inheritance ...
(define-key c-mode-base-map "\M-q" 'c-fill-paragraph)
(define-key c-mode-base-map "\M-m" 'delete-trailing-whitespace)
(define-key c-mode-base-map "\M-m" 'curl-code-cleanup)
(setq c-recognize-knr-p nil)
;;; (add-hook 'write-file-hooks 'delete-trailing-whitespace t)
(setq show-trailing-whitespace t)

View File

@ -1,5 +1,3 @@
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */

View File

@ -21,15 +21,6 @@
#define HAVE_PWD_H 1
/* futher implementation?... */
//#define HAVE_TCGETATTR 1
//#define HAVE_TCSETATTR 1
/* futher usergroup.library usage?... */
//#define HAVE_GETPWUID 1
//#define HAVE_GETEUID 1
#ifndef F_OK
# define F_OK 0
#endif