#include "context.h"
-inline uid_t get_uid(struct tzplatform_context *context)
+uid_t get_uid(struct tzplatform_context *context)
{
uid_t result;
}
#if _FOREIGN_HAS_(EUID)
-inline uid_t get_euid(struct tzplatform_context *context)
+uid_t get_euid(struct tzplatform_context *context)
{
uid_t result;
#endif
#if _FOREIGN_HAS_(GID)
-inline gid_t get_gid(struct tzplatform_context *context)
+gid_t get_gid(struct tzplatform_context *context)
{
return getgid();
}
const char *values[_TZPLATFORM_VARIABLES_COUNT_];
};
-inline uid_t get_uid(struct tzplatform_context *context);
+uid_t get_uid(struct tzplatform_context *context);
#if _FOREIGN_HAS_(EUID)
-inline uid_t get_euid(struct tzplatform_context *context);
+uid_t get_euid(struct tzplatform_context *context);
#endif
#if _FOREIGN_HAS_(GID)
-inline gid_t get_gid(struct tzplatform_context *context);
+gid_t get_gid(struct tzplatform_context *context);
#endif
#endif
static const char *var_names[_TZPLATFORM_VARIABLES_COUNT_];
-inline int hashid(const char *text, unsigned int len)
+int hashid(const char *text, unsigned int len)
{
const struct varassoc *vara = hashvar(text, len);
return vara ? vara->id : -1;
#ifndef HASHING_H
#define HASHING_H
-inline int hashid(const char *text, unsigned int len);
+int hashid(const char *text, unsigned int len);
const char *keyname(int id);
#endif
}
/* initialize the environment */
-inline void initialize(struct tzplatform_context *context)
+void initialize(struct tzplatform_context *context)
{
struct buffer buffer;
struct parsing parsing;
#ifndef INIT_H
#define INIT_H
-inline void initialize(struct tzplatform_context *context);
+void initialize(struct tzplatform_context *context);
#endif