mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 03:32:24 +00:00
dtcm: fix implicit-function-declaration warnings
This commit is contained in:
parent
f6c0a00a7a
commit
0ee97b3645
12 changed files with 55 additions and 5 deletions
|
@ -31,6 +31,10 @@
|
|||
* OBJECT CODE ONLY SOURCE MATERIALS
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <EUSCompat.h>
|
||||
|
||||
typedef enum {
|
||||
MIME_7BIT,
|
||||
MIME_8BIT,
|
||||
|
@ -42,3 +46,18 @@ typedef enum {
|
|||
CURRENT_TO_INTERNET,
|
||||
INTERNET_TO_CURRENT
|
||||
} Direction;
|
||||
|
||||
|
||||
/* RFCMIME.c */
|
||||
void DtXlateOpToStdLocale(char *operation, char *opLocale, char **ret_stdLocale, char **ret_stdLang, char **ret_stdSet);
|
||||
void DtXlateStdToOpLocale(char *operation, char *stdLocale, char *stdLang, char *stdCodeSet, char *dflt_opLocale, char **ret_opLocale);
|
||||
char *targetTagName(void);
|
||||
void getCharSet(char *charset);
|
||||
void md5PlainText(const char *bp, const unsigned long len, unsigned char *digest);
|
||||
int CvtStr(char *charSet, void *from, unsigned long from_len, void **to, unsigned long *to_len, Direction dir);
|
||||
unsigned int base64size(const unsigned long len);
|
||||
Encoding getEncodingType(const char *body, const unsigned int len, boolean_t strict_mime);
|
||||
void writeContentHeaders(char *hdr_buf, const char *type, const Encoding enc, const char *digest, int isAllASCII);
|
||||
void writeBase64(char *buf, const char *bp, const unsigned long len);
|
||||
void writeQPrint(char *buf, const char *bp, const unsigned long bp_len, int is_Special);
|
||||
void rfc1522cpy(char *buf, const char *value);
|
||||
|
|
|
@ -151,7 +151,6 @@ extern int errno;
|
|||
#define NL_CAT_LOCALE 0
|
||||
#endif
|
||||
|
||||
|
||||
extern time_t timelocal(); /* LINT */
|
||||
extern char * getlogin(); /* LINT */
|
||||
extern void(*sigset())();
|
||||
|
@ -193,6 +192,9 @@ static int newXErrorHandler(Display *, XErrorEvent *);
|
|||
|
||||
static int (*oldXErrorHandler)(Display *, XErrorEvent *);
|
||||
|
||||
// cmtt.c
|
||||
void DieFromToolTalkError(Calendar *c, char *errfmt, Tt_status status);
|
||||
|
||||
void init_strings();
|
||||
|
||||
int child;
|
||||
|
|
|
@ -70,6 +70,10 @@ static char sccsid[] = "@(#)dssw.c 1.58 95/08/07 Copyr 1993 Sun Microsystems, I
|
|||
#endif /* SVR4 */
|
||||
|
||||
extern Dimension ComputeMaxWidth(Widget, Widget, Widget, Widget);
|
||||
// misc.c
|
||||
extern void _i18n_WidestWidget(int num, Widget *ret, Dimension *dim, ...);
|
||||
extern void _i18n_HighestWidgetAdjust(int num, Widget *ret,
|
||||
Dimension *dim, ...);
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
|
@ -66,6 +66,9 @@
|
|||
#include <X11/Xos_r.h>
|
||||
|
||||
static void layout_labels(Widget, Widget, Widget, Widget);
|
||||
// misc.c
|
||||
extern void _i18n_WidestWidget(int num, Widget *ret, Dimension *dim, ...);
|
||||
extern void _i18n_HighestWidget(int num, Widget *ret, Dimension *dim, ...);
|
||||
|
||||
extern caddr_t
|
||||
make_find(Calendar *c)
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
#include "print.h"
|
||||
#include "todo.h"
|
||||
#include "help.h"
|
||||
#include "x_graphics.h"
|
||||
|
||||
/* needed for view-specific print routines */
|
||||
#include "dayglance.h"
|
||||
|
|
|
@ -67,6 +67,11 @@
|
|||
#include "props_pu.h"
|
||||
#include "util.h"
|
||||
|
||||
// misc.c
|
||||
extern void _i18n_WidestWidget(int num, Widget *ret, Dimension *dim, ...);
|
||||
extern void _i18n_HighestWidgetAdjust(int num, Widget *ret,
|
||||
Dimension *dim, ...);
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Static functions local to reminders.c only
|
||||
|
|
|
@ -47,6 +47,8 @@
|
|||
#include "misc.h"
|
||||
#include "rfp.h"
|
||||
#include "props_pu.h"
|
||||
// lib/csa/attr.c
|
||||
#include "attr.h"
|
||||
#ifdef SVR4
|
||||
#include <sys/param.h>
|
||||
#endif /* SVR4 */
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#include <Xm/SeparatoG.h>
|
||||
#include <Xm/Text.h>
|
||||
#include <Xm/ToggleBG.h>
|
||||
#include <Xm/ToggleB.h>
|
||||
#include <Xm/MwmUtil.h>
|
||||
#include <Xm/ComboBox.h>
|
||||
#include <Dt/HourGlass.h>
|
||||
|
|
|
@ -80,6 +80,11 @@ extern boolean_t compare_repeat_info(Dtcm_appointment *, RFP *, CSA_session_hand
|
|||
extern void change_rule_for_this_one_only(Calendar *, Dtcm_appointment *, Dtcm_appointment *);
|
||||
extern Dimension ComputeMaxWidth(Widget, Widget, Widget, Widget);
|
||||
|
||||
// misc.c
|
||||
extern void _i18n_WidestWidget(int num, Widget *ret, Dimension *dim, ...);
|
||||
extern void _i18n_HighestWidget(int num, Widget *ret, Dimension *dim, ...);
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Functions static to todo.c
|
||||
|
|
|
@ -33,13 +33,11 @@
|
|||
|
||||
#include <EUSCompat.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
#include <locale.h>
|
||||
#ifdef SVR4
|
||||
#include <unistd.h>
|
||||
#endif /* SVR4 */
|
||||
#include <sys/stat.h>
|
||||
#include <sys/param.h>
|
||||
#include "util.h"
|
||||
|
@ -55,6 +53,7 @@
|
|||
#include "format.h"
|
||||
#include "deskset.h"
|
||||
#include "print.h"
|
||||
#include "RFCMIME.h"
|
||||
|
||||
#include <X11/Intrinsic.h>
|
||||
#if 0 && defined(PRINTING_SUPPORTED)
|
||||
|
@ -68,6 +67,13 @@
|
|||
#include <Xm/Print.h>
|
||||
#endif /* PRINTING_SUPPORTED */
|
||||
|
||||
// cm_18n.c
|
||||
void _converter_( void *from, unsigned long from_len,
|
||||
void **to, unsigned long *to_len );
|
||||
// monthglance.c
|
||||
void get_time_str (Dtcm_appointment *appt, char *buf);
|
||||
|
||||
|
||||
#define XOS_USE_XT_LOCKING
|
||||
#define X_INCLUDE_TIME_H
|
||||
#if defined(__linux__)
|
||||
|
|
|
@ -67,7 +67,7 @@ static const char CONTINUATION = '\\';
|
|||
/*
|
||||
** free_resources will step the list of resources and free the allocated space
|
||||
*/
|
||||
extern void
|
||||
void
|
||||
free_resources(Resource *r) {
|
||||
if (r) {
|
||||
free_resources(r->next);
|
||||
|
|
|
@ -77,4 +77,6 @@ extern boolean_t set_resource(Resource**, char*, char*,
|
|||
char*, char*);
|
||||
extern boolean_t set_resource_by_val(Resource**, char*, char*);
|
||||
|
||||
extern void free_resources(Resource *r);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue