From: Ted Lemon Date: Wed, 3 May 2000 05:59:03 +0000 (+0000) Subject: Add 'extern' to two declarations. X-Git-Tag: V3-BETA-2-PATCH-1~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e47dc45a83c1cf40ce180478fc6007c0f382b60a;p=thirdparty%2Fdhcp.git Add 'extern' to two declarations. --- diff --git a/dhcpctl/dhcpctl.h b/dhcpctl/dhcpctl.h index 5bad11707..8eb9c8127 100644 --- a/dhcpctl/dhcpctl.h +++ b/dhcpctl/dhcpctl.h @@ -69,11 +69,8 @@ typedef struct { omapi_handle_t remote_handle; } dhcpctl_remote_object_t; -#ifndef __cplusplus -/* for some reason, these cause problems when included in C++ classes */ -omapi_object_type_t *dhcpctl_callback_type; -omapi_object_type_t *dhcpctl_remote_type; -#endif +extern omapi_object_type_t *dhcpctl_callback_type; +extern omapi_object_type_t *dhcpctl_remote_type; dhcpctl_status dhcpctl_initialize (void); dhcpctl_status dhcpctl_connect (dhcpctl_handle *,