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:46:38 +0000 (21:46 -0400)
hdrs/flags.h

index 77ef8dc282716158fe72702173c342befe0d56e8..8d4f60658c5e3b261a1785c50d5a7792ca23e0b8 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);