aboutsummaryrefslogtreecommitdiff
path: root/secmem
diff options
context:
space:
mode:
Diffstat (limited to 'secmem')
-rw-r--r--secmem/Makefile.am4
-rw-r--r--secmem/secmem.c8
-rw-r--r--secmem/util.h8
3 files changed, 10 insertions, 10 deletions
diff --git a/secmem/Makefile.am b/secmem/Makefile.am
index 331530f..dfdbed0 100644
--- a/secmem/Makefile.am
+++ b/secmem/Makefile.am
@@ -7,12 +7,12 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
-#
+#
# PINENTRY is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
diff --git a/secmem/secmem.c b/secmem/secmem.c
index 796108d..fc9ac2f 100644
--- a/secmem/secmem.c
+++ b/secmem/secmem.c
@@ -58,21 +58,21 @@ typedef union {
#define log_error log_info
#define log_bug log_fatal
-void
+void
log_info(char *template, ...)
{
va_list args;
-
+
va_start(args, template);
vfprintf(stderr, template, args);
va_end(args);
}
-void
+void
log_fatal(char *template, ...)
{
va_list args;
-
+
va_start(args, template);
vfprintf(stderr, template, args);
va_end(args);
diff --git a/secmem/util.h b/secmem/util.h
index 7986c99..5d28925 100644
--- a/secmem/util.h
+++ b/secmem/util.h
@@ -23,18 +23,18 @@
#include <sys/types.h>
#ifndef HAVE_BYTE_TYPEDEF
-# undef byte
+# undef byte
# ifdef __riscos__
/* Norcroft treats char == unsigned char but char* != unsigned char* */
typedef char byte;
-# else
+# else
typedef unsigned char byte;
-# endif
+# endif
# define HAVE_BYTE_TYPEDEF
#endif
#ifndef HAVE_ULONG_TYPEDEF
-# undef ulong
+# undef ulong
typedef unsigned long ulong;
# define HAVE_ULONG_TYPEDEF
#endif
bgstack15