summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-04 20:21:45 +0100
committerWerner Koch <wk@gnupg.org>2011-02-04 20:21:45 +0100
commit4f048514ecae879fa4bb7b8522baf801229be522 (patch)
treed798c8527b68e83e4419c14d7c6dd47f2abdfd9e /compat
parent9d00b28e0d04361fe9ccf02983bea781b5701c1d (diff)
downloadlibgcrypt-4f048514ecae879fa4bb7b8522baf801229be522.tar.gz
Nuked almost all trailing whitespace.
Check and install the standard git pre-commit hook.
Diffstat (limited to 'compat')
-rw-r--r--compat/Makefile.am8
-rw-r--r--compat/clock.c4
-rw-r--r--compat/compat.c3
-rw-r--r--compat/getpid.c2
4 files changed, 7 insertions, 10 deletions
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 <time.h>
#include <assert.h>
-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 <windows.h>
#include <sys/types.h>
-pid_t
+pid_t
_gcry_getpid (void)
{
return GetCurrentProcessId ();