summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-03-19 14:56:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-03-19 14:56:45 (GMT)
commitc740da6bc26ac29aeb5b548f7e350fd15ec1f890 (patch)
treebcfa89065ecea0a374bed505c235b77cba3db0a3 /generic/tclLoad.c
parent9e0fbf5ef34d910758ee6a09bbf91bb5ec8f58f4 (diff)
downloadtcl-c740da6bc26ac29aeb5b548f7e350fd15ec1f890.zip
tcl-c740da6bc26ac29aeb5b548f7e350fd15ec1f890.tar.gz
tcl-c740da6bc26ac29aeb5b548f7e350fd15ec1f890.tar.bz2
Fix indentation/brace usage style issues
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r--generic/tclLoad.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c
index a2d1919..a689833 100644
--- a/generic/tclLoad.c
+++ b/generic/tclLoad.c
@@ -92,17 +92,17 @@ typedef struct InterpLibrary {
static void LoadCleanupProc(void *clientData,
Tcl_Interp *interp);
-static int IsStatic (LoadedLibrary *libraryPtr);
+static int IsStatic(LoadedLibrary *libraryPtr);
static int UnloadLibrary(Tcl_Interp *interp, Tcl_Interp *target,
LoadedLibrary *library, int keepLibrary,
const char *fullFileName, int interpExiting);
static int
-IsStatic (LoadedLibrary *libraryPtr) {
- int res;
- res = (libraryPtr->fileName[0] == '\0');
- return res;
+IsStatic(
+ LoadedLibrary *libraryPtr)
+{
+ return (libraryPtr->fileName[0] == '\0');
}
/*