X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fdevice.h;h=bb7ae0783499cfcb60ce8e908c279acfeef2773d;hp=3c4604f60ef8fc1f80465e3461fb4778a6f821f3;hb=d003f514dab2dbf1a66e11800a50aeaf039d036c;hpb=c2f1db8f83618e60dcded8303d14656d7d26b436 diff --git a/src/core/device.h b/src/core/device.h index 3c4604f60..bb7ae0783 100644 --- a/src/core/device.h +++ b/src/core/device.h @@ -50,7 +50,5 @@ struct Device { extern const UnitVTable device_vtable; -void device_fd_event(Manager *m, int events); - -const char* device_state_to_string(DeviceState i); -DeviceState device_state_from_string(const char *s); +const char* device_state_to_string(DeviceState i) _const_; +DeviceState device_state_from_string(const char *s) _pure_;