Use snwprintf instead of swprintf in rts/Linker.c.
[ghc.git] / rts / RtsFlags.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The AQUA Project, Glasgow University, 1994-1997
4 * (c) The GHC Team, 1998-2006
5 *
6 * Functions for parsing the argument list.
7 *
8 * ---------------------------------------------------------------------------*/
9
10 #ifndef RTSFLAGS_H
11 #define RTSFLAGS_H
12
13 #include "BeginPrivate.h"
14
15 /* Routines that operate-on/to-do-with RTS flags: */
16
17 void initRtsFlagsDefaults (void);
18 void setupRtsFlags (int *argc, char *argv[],
19 RtsOptsEnabledEnum rtsOptsEnabled,
20 const char *ghc_rts_opts,
21 HsBool is_hs_main);
22 void setProgName (char *argv[]);
23 void freeRtsArgs (void);
24
25 #include "EndPrivate.h"
26
27 #endif /* RTSFLAGS_H */