X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Flist.h;h=845aab20b4917cbc6abce6e655c2f6491e1841bb;hb=c259baae45d76592eb14db5abde20aa72e7f2605;hp=bc8ea1480bc04c822ab4934b61d2b15f5749ecb3;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=openvswitch diff --git a/lib/list.h b/lib/list.h index bc8ea148..845aab20 100644 --- a/lib/list.h +++ b/lib/list.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,11 +23,10 @@ #include "util.h" /* Doubly linked list head or element. */ -struct list - { +struct list { struct list *prev; /* Previous list element. */ struct list *next; /* Next list element. */ - }; +}; #define LIST_INITIALIZER(LIST) { LIST, LIST }