[pkg-opensc-commit] [pkcs11-helper] 21/60: Cleanups

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:39:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to tag pkcs11-helper-1.02
in repository pkcs11-helper.

commit 8ea5b345fed21e90a589b9fc6f99f3ec89706904
Author: alonbl <alonbl at 485eb718-1723-0410-b8a9-88cf21a28c35>
Date:   Wed Nov 29 21:07:44 2006 +0000

    Cleanups
---
 configure.ac                                | 2 +-
 include/pkcs11-helper-1.0/pkcs11h-engines.h | 2 +-
 lib/pkcs11h-sys.c                           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3d38872..5faa315 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,10 +79,10 @@ case "${host}" in
 	;;
 	*-cygwin*)
 		AC_MSG_CHECKING([cygwin mode to use])
+		CYGWIN="yes"
 		if test "${CYGWIN_NATIVE}" = "yes"; then
 			AC_MSG_RESULT([Using native win32])
 			CFLAGS="${CFLAGS} -mno-cygwin"
-			CYGWIN="yes"
 			WIN32="yes"
 		else
 			AC_MSG_RESULT([Using cygwin])
diff --git a/include/pkcs11-helper-1.0/pkcs11h-engines.h b/include/pkcs11-helper-1.0/pkcs11h-engines.h
index 8ae9656..0058386 100644
--- a/include/pkcs11-helper-1.0/pkcs11h-engines.h
+++ b/include/pkcs11-helper-1.0/pkcs11h-engines.h
@@ -96,7 +96,7 @@ typedef struct pkcs11h_sys_engine_s {
 	 * @brief usleep provider.
 	 * @param usec	Microseconds.
 	 */
-	void (*usleep) (const unsigned long usec);
+	void (*usleep) (unsigned long usec);
 
 	/**
 	 * @brief gettimeofday provider (unix).
diff --git a/lib/pkcs11h-sys.c b/lib/pkcs11h-sys.c
index 6c67f29..1140536 100644
--- a/lib/pkcs11h-sys.c
+++ b/lib/pkcs11h-sys.c
@@ -67,7 +67,7 @@ __mytime (void) {
 
 static
 void
-__mysleep (const unsigned long usec) {
+__mysleep (unsigned long usec) {
 #if defined(_WIN32)
 	Sleep (usec/1000);
 #else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pkcs11-helper.git



More information about the pkg-opensc-commit mailing list