libtasn1-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU libtasn1 branch, master, updated. libtasn1_2_13-16-g55f4c0d


From: Simon Josefsson
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_2_13-16-g55f4c0d
Date: Wed, 12 Sep 2012 21:23:04 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libtasn1".

http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=55f4c0daccdc4db3cd8c1e6dc90291bd265a6f54

The branch, master has been updated
       via  55f4c0daccdc4db3cd8c1e6dc90291bd265a6f54 (commit)
       via  204ce1d9a909d46c9bad2f6462f952b2edf9cefe (commit)
      from  e80a9f2df71640e988f02cac76e2a2e7ae79d9c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 55f4c0daccdc4db3cd8c1e6dc90291bd265a6f54
Author: Simon Josefsson <address@hidden>
Date:   Wed Sep 12 23:21:33 2012 +0200

    Drop long-time deprecated functions.

commit 204ce1d9a909d46c9bad2f6462f952b2edf9cefe
Author: Simon Josefsson <address@hidden>
Date:   Wed Sep 12 23:20:33 2012 +0200

    Bump years.

-----------------------------------------------------------------------

Summary of changes:
 doc/Makefile.am           |    2 +-
 doc/reference/Makefile.am |    3 +--
 lib/errors.c              |   41 -----------------------------------------
 lib/libtasn1.h            |   31 -------------------------------
 4 files changed, 2 insertions(+), 75 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 90c7ae1..4cba357 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -167,7 +167,7 @@ doit:
                        -sourceversion $(VERSION) \
                        -include libtasn1.h \
                        -seeinfo $(PACKAGE) -verbatimcopying \
-                       -copyright "2006-2011 Free Software Foundation, Inc." \
+                       -copyright "2006-2012 Free Software Foundation, Inc." \
                        -function $$i \
                        $(GDOC_SRC) > man/$$i.3 && \
                $(srcdir)/gdoc -texinfo -function $$i \
diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
index f1e0bce..c3a1def 100644
--- a/doc/reference/Makefile.am
+++ b/doc/reference/Makefile.am
@@ -29,8 +29,7 @@ SCANGOBJ_OPTIONS=
 
 # Extra options to supply to gtkdoc-scan.
 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
-SCAN_OPTIONS=--ignore-decorators=ASN1_API \
-       --deprecated-guards=ASN1_DISABLE_DEPRECATED
+SCAN_OPTIONS=--ignore-decorators=ASN1_API
 
 # Extra options to supply to gtkdoc-mkdb.
 # e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
diff --git a/lib/errors.c b/lib/errors.c
index 76611d8..8b6e5e4 100644
--- a/lib/errors.c
+++ b/lib/errors.c
@@ -100,44 +100,3 @@ asn1_strerror (asn1_retCode error)
 
   return NULL;
 }
-
-#ifndef ASN1_DISABLE_DEPRECATED
-
-/* Compatibility mappings to preserve ABI. */
-
-/**
- * libtasn1_perror:
- * @error: is an error returned by a libtasn1 function.
- *
- * Prints a string to stderr with a description of an error.  This
- * function is like perror(). The only difference is that it accepts
- * an error returned by a libtasn1 function.
- *
- * Deprecated: Use asn1_perror() instead.
- **/
-void
-libtasn1_perror (asn1_retCode error)
-{
-  asn1_perror (error);
-}
-
-/**
- * libtasn1_strerror:
- * @error: is an error returned by a libtasn1 function.
- *
- * Returns a string with a description of an error.  This function is
- * similar to strerror.  The only difference is that it accepts an
- * error (number) returned by a libtasn1 function.
- *
- * Returns: Pointer to static zero-terminated string describing error
- *   code.
- *
- * Deprecated: Use asn1_strerror() instead.
- **/
-const char *
-libtasn1_strerror (asn1_retCode error)
-{
-  return asn1_strerror (error);
-}
-
-#endif
diff --git a/lib/libtasn1.h b/lib/libtasn1.h
index 3373828..e67fdfe 100644
--- a/lib/libtasn1.h
+++ b/lib/libtasn1.h
@@ -301,37 +301,6 @@ extern "C"
     asn1_copy_node (ASN1_TYPE dst, const char *dst_name,
                    ASN1_TYPE src, const char *src_name);
 
-  /* Deprecated stuff. */
-
-#ifndef ASN1_DISABLE_DEPRECATED
-
-#define LIBTASN1_VERSION ASN1_VERSION
-
-#ifndef MAX_NAME_SIZE
-# define MAX_NAME_SIZE ASN1_MAX_NAME_SIZE
-#endif
-
-#ifndef MAX_ERROR_DESCRIPTION_SIZE
-# define MAX_ERROR_DESCRIPTION_SIZE ASN1_MAX_ERROR_DESCRIPTION_SIZE
-#endif
-
-#ifndef __attribute__
-  /* This feature is available in gcc versions 2.5 and later.  */
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
-#  define __attribute__(Spec)  /* empty */
-# endif
-#endif
-
-  /* Use asn1_strerror instead. */
-  extern ASN1_API const char *libtasn1_strerror (asn1_retCode error)
-    __attribute__ ((deprecated));
-
-  /* Use asn1_perror instead. */
-  extern ASN1_API void
-    libtasn1_perror (asn1_retCode error) __attribute__ ((deprecated));
-
-#endif
-
 #ifdef __cplusplus
 }
 #endif


hooks/post-receive
-- 
GNU libtasn1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]