From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Date: Thu, 14 Oct 2004 21:23:08 +0000 Subject: [PATCH] move assignments past local variables Message-Id: <20041014212308.GA12397@beaverton.ibm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I'm using an older C compiler, and it doesn't like assignments mixed with declarations, but this is also a style cleanup. === udev.c 1.67 vs edited ==--- 1.67/udev.c Wed Oct 13 19:09:31 2004 +++ edited/udev.c Thu Oct 14 13:13:55 2004 @@ -106,8 +106,6 @@ int main(int argc, char *argv[], char *envp[]) { - main_argv = argv; - main_envp = envp; struct sigaction act; char *action; char *devpath = ""; @@ -120,6 +118,9 @@ } act_type; dbg("version %s", UDEV_VERSION); + + main_argv = argv; + main_envp = envp; init_logging("udev"); -- Patrick Mansfield ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel