Skip to content
Snippets Groups Projects
Commit f4bc1dba authored by Russell Jancewicz's avatar Russell Jancewicz Committed by GitHub
Browse files

Merge pull request #49 from Pluggi/master

remove inline qualifiers to avoid undefined symbol
parents b2e3e577 e200c281
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ kadm5_get_principal(void *server_handle, krb5_principal principal,
#define TIME_NONE ((time_t) -1)
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str) {
char *PyUnicode_or_PyBytes_asCString(PyObject *in_str) {
char *out_str = NULL;
......@@ -95,7 +95,7 @@ char *pykadmin_timestamp_as_deltastr(int seconds, const char *zero) {
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp) {
PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp) {
PyDateTime_IMPORT;
......
......@@ -22,11 +22,11 @@
#endif
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
int pykadmin_policy_exists(void *server_handle, const char *name);
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
int pykadmin_timestamp_from_pydatetime(PyObject *datetime);
int pykadmin_seconds_from_pydatetime(PyObject *delta);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment