chiark / gitweb /
systemctl: suppress a gcc sign assignemnt warning
[elogind.git] / service.h
index c8e41ba26441fa37c4a005eff95f4f1c4d8ba9f5..fef100bad96d27a9aa1a10752256e802e07d3dde 100644 (file)
--- a/service.h
+++ b/service.h
@@ -102,7 +102,7 @@ struct Service {
         RateLimit ratelimit;
 };
 
-const UnitVTable service_vtable;
+extern const UnitVTable service_vtable;
 
 const char* service_state_to_string(ServiceState i);
 ServiceState service_state_from_string(const char *s);