CVSROOT: /cvs/dm Module name: dmraid Changes by: zkabelac@xxxxxxxxxxxxxx 2010-07-13 20:15:35 Modified files: tools : dmevent_tool.c Log message: Use static for _test_user_id() Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/tools/dmevent_tool.c.diff?cvsroot=dm&r1=1.2&r2=1.3 --- dmraid/tools/dmevent_tool.c 2010/05/27 20:56:36 1.2 +++ dmraid/tools/dmevent_tool.c 2010/07/13 20:15:31 1.3 @@ -114,7 +114,7 @@ "\n" , cmd, options, cmd, cmd, cmd, cmd, cmd, cmd, cmd); } -void _test_user_id(void) +static void _test_user_id(void) { if (geteuid()) { fprintf(stderr, "This utility needs to be run as root.\n"); -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel