X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblutil%2Fntservice.c;h=23d1ea6fb195cc8e04e089ac5e2f523b529eb2df;hb=5ce2a2aee611726aa763234469d6849d2113044f;hp=42b3d99e76fe2833f2fa452df3ee03ad2a2c590a;hpb=3b01c9a99e52b40f733b30f879938657829e97f0;p=openldap
diff --git a/libraries/liblutil/ntservice.c b/libraries/liblutil/ntservice.c
index 42b3d99e76..23d1ea6fb1 100644
--- a/libraries/liblutil/ntservice.c
+++ b/libraries/liblutil/ntservice.c
@@ -1,7 +1,16 @@
/* $OpenLDAP$ */
-/*
- * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software .
+ *
+ * Copyright 1998-2012 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * .
*/
/*
@@ -22,10 +31,8 @@
#include
-#include "ldap_log.h"
#include "ldap_pvt_thread.h"
-
#include "ldap_defaults.h"
#include "slapdmsg.h"
@@ -291,7 +298,7 @@ static void *stop_status_routine( void *ptr )
-void WINAPI lutil_ServiceCtrlHandler( IN DWORD Opcode)
+static void WINAPI lutil_ServiceCtrlHandler( IN DWORD Opcode)
{
switch (Opcode)
{