]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add 'extern' to two declarations.
authorTed Lemon <source@isc.org>
Wed, 3 May 2000 05:59:03 +0000 (05:59 +0000)
committerTed Lemon <source@isc.org>
Wed, 3 May 2000 05:59:03 +0000 (05:59 +0000)
dhcpctl/dhcpctl.h

index 5bad11707d3d9a7c0c1bcd09bb449025be4edade..8eb9c81275cad434de7858c47587af717e4a7108 100644 (file)
@@ -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 *,