summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:41 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:41 +0100
commit3f6e8f5e3f5d482051ffb12e0fb4b23d75f74d4c (patch)
tree4236eea39c34d9db480387fffab9af8a0bc1fcfa
parentd54b6220dc44bb31f1c53ce56ecaadf9f818e2cf (diff)
Move user_name() declaration to util.h
-rw-r--r--src/externs.h9
-rw-r--r--src/util.h1
2 files changed, 1 insertions, 9 deletions
diff --git a/src/externs.h b/src/externs.h
index 6b36625a..5c29116d 100644
--- a/src/externs.h
+++ b/src/externs.h
@@ -459,12 +459,3 @@ extern deity_type deity_info[MAX_GODS];
extern timer_type *gl_timers;
extern const char *get_version_string();
extern tval_desc2 tvals[];
-
-/*
- * Hack -- conditional (or "bizarre") externs
- */
-
-#ifdef SET_UID
-/* util.c */
-extern void user_name(char *buf, int id);
-#endif
diff --git a/src/util.h b/src/util.h
index b1d042ee..4ae797b9 100644
--- a/src/util.h
+++ b/src/util.h
@@ -15,6 +15,7 @@ extern sint macro_find_exact(cptr pat);
extern char inkey(void);
extern void prt(cptr str, int row, int col);
extern void pause_line(int row);
+extern void user_name(char *buf, int id);
#ifdef __cplusplus
} // extern "C"