Commit f1772c37 authored by Ray Strode's avatar Ray Strode

jsauthority: use JS_FN instead of JS_FS

since it doesn't crash if i do that
parent 23b39488
......@@ -199,9 +199,9 @@ static JSBool js_polkit_user_is_in_netgroup (JSContext *cx, unsigned argc, jsval
static JSFunctionSpec js_polkit_functions[] =
{
JS_FS("log", js_polkit_log, 0, 0),
JS_FS("spawn", js_polkit_spawn, 0, 0),
JS_FS("_userIsInNetGroup", js_polkit_user_is_in_netgroup, 0, 0),
JS_FN("log", js_polkit_log, 0, 0),
JS_FN("spawn", js_polkit_spawn, 0, 0),
JS_FN("_userIsInNetGroup", js_polkit_user_is_in_netgroup, 0, 0),
JS_FS_END
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment