* src/virterror.c (virStrerror): Remove "static".
* src/virterror_internal.h (virStrerror): Declare it.
* src/libvirt_private.syms: Add virStrerror;
+Thu, 5 Feb 2009 17:03:34 +0100 Jim Meyering <meyering@redhat.com>
+
+ publicize virStrerror
+ * src/virterror.c (virStrerror): Remove "static".
+ * src/virterror_internal.h (virStrerror): Declare it.
+ * src/libvirt_private.syms: Add virStrerror;
+
Thu Feb 5 17:00:17 +0100 2009 Jim Meyering <meyering@redhat.com>
remove useless code
virRaiseError;
virReportSystemErrorFull;
virReportOOMErrorFull;
+virStrerror;
# xml.h
}
-static const char *virStrerror(int theerrno, char *errBuf, size_t errBufLen)
+const char *virStrerror(int theerrno, char *errBuf, size_t errBufLen)
{
#ifdef HAVE_STRERROR_R
# ifdef __USE_GNU
/*
* virterror.h: internal error handling
*
- * Copyright (C) 2006-2008 Red Hat, Inc.
+ * Copyright (C) 2006-2009 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
void virSetGlobalError(void);
void virSetConnError(virConnectPtr conn);
+const char *virStrerror(int theerrno, char *errBuf, size_t errBufLen);
#endif