Add missing prototype for alias_flag()
authorAri Johnson <iamtheari@gmail.com>
Fri, 25 Mar 2011 01:46:38 +0000 (21:46 -0400)
committerAri Johnson <iamtheari@gmail.com>
Fri, 25 Mar 2011 01:47:08 +0000 (21:47 -0400)
hdrs/flags.h

index 9d3ebbf2e0bd01d97fae41126475e4dbafeb4145..c196b3f3a508ee6704b85bf9f76c0740e9dde8e9 100644 (file)
@@ -84,6 +84,9 @@ extern object_flag_type flags_from_old_flags(long old_flags, long old_toggles,
                                              int type);
 extern FLAG *add_flag(const char *name, const char letter, int type,
                      int perms, int negate_perms);
+extern int alias_flag_generic(const char *ns, const char *name,
+                             const char *alias);
+#define alias_flag(n,a) alias_flag_generic("FLAG",n,a)
 extern void do_list_flags(dbref player, const char *arg, int lc);
 extern char *list_all_flags(const char *ns, const char *name, dbref privs, int which);
 extern void do_flag_info(const char *ns, dbref player, const char *name);