Browse Source

Remove dead typedef.

Brian Aker 12 years ago
parent
commit
f8c6115fde
1 changed files with 3 additions and 12 deletions
  1. 3 12
      libgearman-server/wakeup.h

+ 3 - 12
libgearman-server/wakeup.h

@@ -2,7 +2,7 @@
  * 
  *  Gearmand client and server library.
  *
- *  Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/
+ *  Copyright (C) 2011-2013 Data Differential, http://datadifferential.com/
  *  Copyright (C) 2008 Brian Aker, Eric Day
  *  All rights reserved.
  *
@@ -40,22 +40,13 @@
 
 #include <libgearman-1.0/visibility.h>
 
-typedef enum
+enum gearmand_wakeup_t
 {
   GEARMAND_WAKEUP_PAUSE,
   GEARMAND_WAKEUP_SHUTDOWN,
   GEARMAND_WAKEUP_SHUTDOWN_GRACEFUL,
   GEARMAND_WAKEUP_CON,
   GEARMAND_WAKEUP_RUN
-} gearmand_wakeup_t;
+};
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-GEARMAN_INTERNAL_API
 const char *gearmand_strwakeup(gearmand_wakeup_t arg);
-
-#ifdef __cplusplus
-}
-#endif