From 4f048514ecae879fa4bb7b8522baf801229be522 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Feb 2011 20:21:45 +0100 Subject: Nuked almost all trailing whitespace. Check and install the standard git pre-commit hook. --- compat/Makefile.am | 8 +++----- compat/clock.c | 4 ++-- compat/compat.c | 3 +-- compat/getpid.c | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) (limited to 'compat') diff --git a/compat/Makefile.am b/compat/Makefile.am index 0e0c54a4..f0ddf34d 100644 --- a/compat/Makefile.am +++ b/compat/Makefile.am @@ -37,14 +37,12 @@ AM_CPPFLAGS = -I../src -I$(top_srcdir)/src $(GPG_ERROR_CFLAGS) noinst_LTLIBRARIES = libcompat.la # We only need one file so that the library is guaranteed to have at -# least one member. +# least one member. libcompat_la_SOURCES = compat.c libcompat.h -libcompat_la_DEPENDENCIES = @LTLIBOBJS@ -libcompat_la_LIBADD = @LTLIBOBJS@ +libcompat_la_DEPENDENCIES = @LTLIBOBJS@ +libcompat_la_LIBADD = @LTLIBOBJS@ # AC_LIBOBJ files are: # getpid.c # clock.c # - - diff --git a/compat/clock.c b/compat/clock.c index 0d1a1671..7f250f33 100644 --- a/compat/clock.c +++ b/compat/clock.c @@ -19,11 +19,11 @@ #include #include -clock_t +clock_t _gcry_clock (void) { assert (CLOCKS_PER_SEC == 1000); -#warning Replace by a correct implementaion. +#warning Replace by a correct implementaion. /* It seems that GetProcessTimes is available in the kernel but without a declaration. If that fails we would need to walk over all threads and tally up the GetThreadTimes. */ diff --git a/compat/compat.c b/compat/compat.c index 8f1d9c86..4a38ec7c 100644 --- a/compat/compat.c +++ b/compat/compat.c @@ -25,7 +25,7 @@ const char * _gcry_compat_identification (void) { - static const char blurb[] = + static const char blurb[] = "\n\n" "This is Libgcrypt - The GNU Crypto Library\n" "Copyright 2000, 2002, 2003, 2004, 2007, 2008, 2009,\n" @@ -33,4 +33,3 @@ _gcry_compat_identification (void) "\n\n"; return blurb; } - diff --git a/compat/getpid.c b/compat/getpid.c index b93d057f..032387c3 100644 --- a/compat/getpid.c +++ b/compat/getpid.c @@ -18,7 +18,7 @@ #include #include -pid_t +pid_t _gcry_getpid (void) { return GetCurrentProcessId (); -- cgit v1.2.1