Remove extra semicolon in my definition of setpriority()
[oweals/tinc.git] / src / tincd.c
index bec16cd3a062e0df465ea86c7f8521be1697d319..da3c33fa32e485e7b5164dbe1bb2f9f73363f869 100644 (file)
@@ -485,7 +485,7 @@ static bool drop_privs() {
 }
 
 #ifdef HAVE_MINGW
 }
 
 #ifdef HAVE_MINGW
-# define setpriority(level) SetPriorityClass(GetCurrentProcess(), level);
+# define setpriority(level) SetPriorityClass(GetCurrentProcess(), level)
 #else
 # define NORMAL_PRIORITY_CLASS 0
 # define BELOW_NORMAL_PRIORITY_CLASS 10
 #else
 # define NORMAL_PRIORITY_CLASS 0
 # define BELOW_NORMAL_PRIORITY_CLASS 10